Autoformating notes #211
-
|
Hello, Thanks for this great tool, but I have a small issue. I use Neovim, and Zettelkasten. My note template is basically like this: Every time I save the file, it becomes : Everything is joined on one line only. I turned off the setting Any idea? NVIM v0.11.5 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
It reformats also long lines. My lines are 80 columns width, and now they are reformated to remove that. I'm wondering why the auto_format_on_save to false doesnt work... |
Beta Was this translation helpful? Give feedback.
-
|
Hi @hyde-stevenson, IWE core is build in a way that it works with Markdown elements, not the text. It cannot make any transformations in the text without re-formatting it afterwards. In Markdown there is no such element as a soft line break. Any two paragraphs (text lines) without an empty line between them considered same paragraph and formatted accordingly. IWE supports standard frontmatter (data block with three dashes), but it needs to be in the beginning of the file. |
Beta Was this translation helpful? Give feedback.
The frontmatter content is not parsed at the moment. We can consider adding this functionality.
You are correct,
auto_format_on_save=falseshould disable auto formatting on save.