Linebreak in Metadata

Hi,

how do I create a linebreak within metadata? I generate MMD via Scrivener, and had a discussion about it with their support here:
https://www.literatureandlatte.com/forum/viewtopic.php?f=2&t=60772

The MMD6 Documentation claims the following:

You can have more than one line in this field --- use two extra spaces at the end of the line, and a newline character will be used in LaTeX.
(Taken from https://github.com/fletcher/MultiMarkdown/wiki/MultiMarkdown-Syntax-Guide#affiliation)

If I a file with a tag Affiliation and set it to:

test1
test2
test3

this yields the following results -
\def\affiliaton{test1 test2 test3}

If I understand the MMD6 manual correctly the outcome should be
\def\affiliaton{test1\\test2\\test3}

So what would be the correct way, please?

  1. The documentation you linked to was MultiMarkdown version 2 and is obsolete (though I was interested to see that others are still editing it... ;)

    MultiMarkdown-6 documentation is here

    If you want to force a line break in metadata, use an escaped newline.

  2. fletcher closed this discussion on 03 Mar, 2020 02:23 AM.

  3. dudido re-opened this discussion on 03 Mar, 2020 06:14 PM

  4. Thank you for your clarification.

    I can confirm that the line breaks now work as expected.

    That site showed up as a top hit on search engines and had a current editing date (18 Mar 2019) but no direct reference (at least within that subsection) on the version documented. It may be useful to insert a notice permanently visible that this content is outdated as others may end up having similar misunderstandings,

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

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

Recent Articles