cristianvasquez / obsidian-prettify

A markdown prettifier for obsidian
GNU General Public License v3.0
130 stars 12 forks source link

Odd behavior when header templates are turned off #91

Open ScottKillen opened 2 years ago

ScottKillen commented 2 years ago

When I turn off "Add new header" and "Update header" the plugin does not format frontmatter at all.

If I turn on one of the above options but leave the templates empty, the plugin emits the error "Cannot read property 'tags' of undefined"

The expected behavior in any of these cases is that the markdown is formatted without adding anything to the frontmatter.