Closed iaurman closed 3 years ago
YAML Front Matters are a very wide-spread concept, if a Markdown editor isn't capable of at least ignoring it, I would consider this an issue with the Markdown editor. Anyway, you can use the C-style block comment syntax as an alternative:
/*
Title: abc
*/
Every file has to contain a YAML header in order to be able to be recognized by pico.
Pico only sees it as a header, and doesn't render it in the webpage. But almost all markdown editors don't hide the YAML header. When I try to edit my pico .md file in my macbook, the header gets rendered. When I try to preview it, the first few lines get wasted by YAML header, instead of the actual content. And it's so annoying. I thought the purpose of using plain file instead of database is that my data and files don't get limited by one program.
Maybe make the header into Markdown Comment like this:
Or make the YAML header into the Markdown Comment like this:
Or offer an option to not use header while also being able to be recognized by pico. Just let the
file name
be theTitle