mrjackphil / obsidian-text-expand

A simple text expand plugin for Obsidian.md
186 stars 12 forks source link

Templating feature will not work if the block is on the first line #5

Closed athiwatc closed 3 years ago

athiwatc commented 3 years ago

If I have ```expander on the first line of the document. Non of the templating feature will work.

dariuszkowalski-com commented 3 years ago

I have got the same bug.

When I put a filter with formating at the beginning of a file e.g:

{{ #F2F-PH✅ }}
- [[$filename]]

after run it is changed to:

{{ #F2F-PH✅ }}

it means that all formatings are deleted. - [[$filename]] is removed

This is a bug - version 0.5.1

mrjackphil commented 3 years ago

Should be fixed in 0.5.2