I am working a lot with RStudio and RMarkdown files which RStudio stores with the file extension .Rmd instead of .md; RMarkdown is basically Pandoc Markdown.
These documents cannot be previewed as Markdown files in DTP3 but are treated as text files.
Beside RMarkdown, I write mostly in Pandoc Markdown rather than MultiMarkdown, but this renders nicely in DTP3 as well, so I can imagine that RMarkdown files would render nicely as well.
–> Could you give an option in the preferences like “Treat .Rmd files as markdown (.md) files” ?
Thanks for listening!
Maria
Addendum:
There is no need to work on the Pandoc YAML chunks or to process the RCode in the RMarkdown code blocks, just treat code blocks as code blocks in Multimarkdown, and YAML chunks can stay greyed out as they do now. As far as I understand, RStudio is not a niche software, and RMarkdown files (basically Pandoc flavored Markdown with R code blocks) are used frequently.
This isn’t supported by MultiMarkdown. But you could enable the hidden preference PlainTextIsMarkdown (see appendix of help) to render all plain text documents as Markdown.
Thank you for helping me out in that case. The links in the appendix are super helpful
This will be a good workaround for the time being, although there are some text documents that I would prefer to stay as text (this can be settled with looking at the source rather than the preview).
In the long term, could we have an option (even hidden) to set certain file extensions as markdown, as there are options to add file extensions for text?
As you can see, I started this thread two years ago, and since then work patiently with the workaround offered by Christian. No problem with patience here I’d say.