How can I convert my book to MultiMarkdown (MMD)?
The book I’m writing in Scrivener has until now been composed in rich text — with italics, curly quotation marks, and block quotes.
Now I need to convert it to MultiMarkdown. There appears to be no simple way to accomplish this. For example, I must replace each instance of italics with *text*.
The first part I need to do has 20+ documents (22,000 words).
Does anyone have an automated technique for converting rich text to MultiMarkdown?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by fletcher on May 25, 2016 @ 02:12 PM
I would look into pandoc. It doesn't necessarily support 100% of
MultiMarkdown's features, but it does support basic Markdown and a few
extra features.
It also supports two-way conversion of a few formats. I believe it has
support for RTF in this way, but have not tested it myself.
Fletcher
2 Posted by Larry Kollar on Feb 17, 2017 @ 04:14 AM
In Scrivener, go Format menu -> Convert -> Bold and Italics to MultiMarkdown Syntax
If you use typewriter font (for example, to highlight a text message), you need to (re)define a preset to make it "Preserve Formatting." When you export to MMD, Scrivener automatically puts backticks around that text.
I'm working on a blog post that explains, in great detail, how to prepare a Scrivener project for MMD. The cool thing is, you can keep it in Scrivener and still have MMD.
3 Posted by Larry Kollar on Feb 17, 2017 @ 04:36 AM
In Scrivener: Format menu -> Convert -> Bold and Italic to MultiMarkdown Syntax
Your block quotes need to start with a > in each paragraph, and turn off Preserve Formatting unless you want them output as code blocks. Scrivener doesn't have an automated way to do that, but you probably don't have too many of them.
I'm working on a blog post that goes into detail on exporting clean MultiMarkdown from Scrivener.
fletcher closed this discussion on Aug 22, 2017 @ 01:19 AM.