How can I convert my book to MultiMarkdown (MMD)?

kay's Avatar

kay

20 May, 2016 06:03 PM

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?

  1. Support Staff 1 Posted by fletcher on 25 May, 2016 02:12 PM

    fletcher's Avatar

    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. 2 Posted by Larry Kollar on 17 Feb, 2017 04:14 AM

    Larry Kollar's Avatar

    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. 3 Posted by Larry Kollar on 17 Feb, 2017 04:36 AM

    Larry Kollar's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

24 Mar, 2017 07:32 PM
24 Mar, 2017 07:16 PM
24 Mar, 2017 06:37 PM
20 Mar, 2017 02:10 PM
18 Feb, 2017 07:09 PM

 

17 Feb, 2017 04:36 AM
20 Jan, 2017 06:56 PM
03 Jan, 2017 02:23 AM
01 Jan, 2017 12:22 PM
19 Dec, 2016 07:58 PM
30 Oct, 2016 01:08 AM