You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually a feature of Maruku, the default Markdown parser in Jekyll.
It has the ability to add document metadata using YAML-esque syntax.
Date: Today
This is real text. Blah blah blah.
Here's some more normal text.
When colon-delimited lines are found at the beginning of a document, Maruku assumes they're metadata and swallows them, including them in hidden meta tags that would ordinarily be placed in the document <head> (but not with Jekyll, since only snippets of Markdown are parsed, not entire documents. Any <meta> tags that would be generated seem to just vanish.)
Actually, if you put colon-delimited lines anywhere in the middle of the document, like so, Maruku will fail:
This is real text. Blah blah blah.
Date: Today
Here's some more normal text.
I don't know of any way to disable this in Maruku. The easiest way to get around it with Jekyll would be to switch the Markdown engine to rdiscount, which doesn't implement any metadata syntax.
I had a post that started with
And the result was that all lines of the content - up to the first blank line - where swallowed in the ouput.
Seems to work with every "xxx: yyy".
If I remove the empty line between the "location:" and the "More text" it works fine.
Not sure what kind of bug I hit,
but I couldn't find anything in the markdown docs.
The text was updated successfully, but these errors were encountered: