idea-markdown icon indicating copy to clipboard operation
idea-markdown copied to clipboard

Option to ignore yaml front matter

Open xinitrc opened this issue 11 years ago • 5 comments

I'd like to have an option to ignore part of the head section of a markdown file. In my case ignoring yaml front matters would suffice.

xinitrc avatar Jun 22 '13 13:06 xinitrc

What is "YAML front matters" ? Can you provide a sample document ?

nicoulaj avatar Aug 08 '13 16:08 nicoulaj

YAML Front Matter is a initial YAML ("YAML Ain't Markup Language") part in beginning of a Markdown file this is common e.g. in Markdown Blog Posts in systems like Jekyll or Hakyll an example can be found e.g. in my blogs github repositoy:

https://raw.github.com/xinitrc/xinitrc.de/master/posts/2013-08-01-Activity-monitor.md

xinitrc avatar Aug 08 '13 17:08 xinitrc

@nicoulaj: Any further thoughts/progress on this? Do you even consider this part of Markdown parsing? Or should such a feature be part of a YAML/Jekyll-Plugin?

winniehell avatar Jul 28 '14 17:07 winniehell

Bump on this request. YAML Front Matter is pretty hard to avoid in the realm of SSGs (Static Site Generators) based on Markdown content. I'm currently working on a project using such a tool and have had to opt for a separate editor to avoid lots of rendering anomalies. Would love to see this feature introduced!

ReservedDeveloper avatar Aug 07 '15 14:08 ReservedDeveloper

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.

nicoulaj avatar May 22 '16 11:05 nicoulaj