Linebreak in Metadata

dudido's Avatar

dudido

02 Mar, 2020 09:32 PM

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. Support Staff 1 Posted by fletcher on 03 Mar, 2020 02:23 AM

    fletcher's Avatar

    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. 2 Posted by dudido on 03 Mar, 2020 06:14 PM

    dudido's Avatar

    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

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 Articles