Open graphit0 opened 1 year ago
@SeptemberHX While this could be a separate issue, this is related enough to this one that I feel I should point it out here.
The default markdown rendering in the editor makes the line before the end of the front matter into a header of some sort:
I've just been adding an extra line break, but I wish I didn't have to.
@ImportTaste hyphens going after text rendered as header2 is expected behaviour and is part of markdown syntax -- therefore it works this way in any markdown application regardless of enhancement plugin
here's example rendered by github
Lorem
---
Temporary workaround is to leave extra blank line before the closing set of hyphens "---" in front matter config
---
Lorem
[blank line]
---
Additionally, in order to safely edit front matters config, be sure to do it in WYSIWYG/Rich text editor
Temporary workaround is to leave extra blank line before the closing set of hyphens "---" in front matter config
Example
--- Lorem [blank line] ---
Additionally, in order to safely edit front matters config, be sure to do it in WYSIWYG/Rich text editor
I'm doing that already, I'm just hoping it won't be necessary to keep doing that in the future.
By trial and error, the behavior is caused by "Render markdown table to editable table in markdown editor From Zettlr" setting; unchecking it eliminates the defect.
Since it's an upstream plugin from zettlr, it would be interesting to see if this behaviour is present in Zettlr itself.
Thank you for this amazing plugin, it's got many great features. In general am very happy with it but during testing of this plugin few things popped out
Description
front matter block is replaced by table -- front matter data is lost
Settings for the plugin
Steps
demo
https://github.com/SeptemberHX/joplin-plugin-enhancement/assets/44114323/5ee81a1f-b218-4a88-a7ea-8a3faba843f6
Environment
Joplin 2.11.4 (prod, linux) same behaviour in 2.12.4 as well
Client ID: 13d35302ccf3481684f87472953c66ef Sync Version: 3 Profile Version: 42 Keychain Supported: No
Revision: 201c7d8
Enhancement: 1.2.1
logs
front matter used
Notes
Enable table formatter in editor
andEnable front matter markdown-it rule