How to include Scrivener Metadata in Marked preview?

Raimund's Avatar

Raimund

12 Feb, 2016 01:11 PM

When i compile a document with Scrivener, Metadata like <$fullname> <$abbr_title> is rendered. When i preview with Marked 2 it is not, I only see the metadata-variables.
Is there a way to make marked resolve the info?

  1. Support Staff 1 Posted by Brett on 12 Feb, 2016 01:44 PM

    Brett's Avatar

    I've never made use of this feature and didn't include it in the parser,
    but looking at the XML document for a project it looks easy enough to
    pick up and replace. I'll add that to the list for a future version.

    In the meantime, MultiMarkdown-style metadata replacements are
    supported. If the first page of your document starts with a block such
    as:

    fullname: Your Name

    at the very top, then you can use [%fullname] in the document to replace
    it with that value.

    -Brett

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