obsidian-filename-heading-sync icon indicating copy to clipboard operation
obsidian-filename-heading-sync copied to clipboard

Ignore a comment (`<!-- ... -->`)

Open trustin opened this issue 1 year ago • 0 comments
trafficstars

Hi! :wave: Thanks a lot for the great plugin. In some of my .md files, the first heading has a comment, e.g.

# This is the title <!-- .slide: style=... -->
...

The plugin will rename the file into This is the title <!-- .... -->.md, which is probably not what people wanted.

What do you think about ignoring/removing the comment block from the heading automatically when determining the file name?

trustin avatar May 18 '24 05:05 trustin