farling42 / RWoutput

Tool to convert a Realm Works Output file into other formats.
GNU General Public License v3.0
14 stars 0 forks source link

MD: add item in frontmatter to define icon to be used. #60

Open farling42 opened 2 years ago

farling42 commented 2 years ago

Each category in the structure definition has a "icon_name".

The Icon Folders plugin for Obsidian allows an icon to be defined for each note.

A simple mapping of icon_name to plugin icon would be ideal.

farling42 commented 2 years ago

The "Icon Folders" plugin stored the name of the icons in .obsidian/plugins/obsidian-icon-folder/data.json

Each item is listed individually by it's full path within the vault, followed by the icon name.

  "Numenera/Book_ Ninth World Bestiary 2": "RiAlignCenter",
  "Numenera/Book_ Ninth World Bestiary 2/Other Creatures.md": "RiAlignLeft"
}
farling42 commented 2 years ago

category has an icon_name attribute, but category_global does NOT have icon_name.

Actually, category does not have icon_name either.