New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View with the list of drafts doesn't render the markdown correctly #902
Comments
The issue here is the format of the It works as expected if you remove the extra
|
Thank you for your reply! Unfortunately changing it to three dashes does not change anything Note, that i'm talking about the "Drafts" view - in the actual post list it's being displayed as expected. I don't know what's the most appropriate place to quote on the markdown notation, but from what i understand three or more symbols have the same effect: |
Okay, so what is actually happening is the inclusion of YAML uses three dashes (“---”) to separate directives from document content. The way this output is setup is that it is not expecting this. Typically you would only use the three dashes if you need to define some directives i.e., variables that you need to pass into a template language.
your actual content... So what is actually happening is it is encoding the I guess the question for @thebaer is whether or not we strip these out somewhere since they aren't needed and causing this issue, or if it is enough to just not include them when writing content. |
Hi @piko-piko, this is all by design. The Drafts / post view is just meant to give you a quick overview of what each post is about -- so we purposely strip out the Markdown. If we didn't, this page could get extremely messy and long, with images and paragraphs and everything taking up space. I'm open to hearing any reason we might change this, but the idea is that you'll click on the post itself to see exactly what it'll look like, and just use this Drafts view to quickly find the posts you're looking for. |
View with the list of drafts doesn't render the markdown correctly. When moved to the main blog, they render as intended both on view with the post list and on the individual post page.
view with the list of drafts
same post, post preview
Markown used:
Version or last commit: 1d89dea (v0.15.0)
The text was updated successfully, but these errors were encountered: