vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

Nasty meta section formatting #858

Closed neochief closed 4 years ago

neochief commented 4 years ago

Hi!

I'd like to ask how to disable this behavior.

Suppose, I have this markup in the beginning of my file.

---
title: The title
---

When I type something after "The title", the whole thing becomes like this:

---
title: The title2
-----------------

I tried to find how to disable this, but none of the options seem relevant to this behavior. Can you please advise?

vsch commented 4 years ago

@neochief, turn on the Jekyll front matter extension in parser settings. It will then parse the text as front matter and not horizontal line followed by a level 2 heading.

vsch commented 4 years ago

@neochief, the plugin checks for this and will show a notification if the file starts with front matter but the extension is not enabled.

image

Unless of course the notification was disabled. It is disabled if the option is checked:

image

neochief commented 4 years ago

Thanks a lot for your help! I guess I had a blind eye to that notification for last two years. I don't use Jekyll, but this definitely helped.