mmd tags as variables

Brian's Avatar

Brian

19 Feb, 2018 10:24 PM

Hi,

Should this work?

Title: Some Title Words
Headerimg: [image-caption](image-path.jpg)

[%headerimg]

Thanks

  1. Support Staff 1 Posted by fletcher on 19 Feb, 2018 10:29 PM

    fletcher's Avatar

    Depends on what you mean by "work."

    The output should consist of:

    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
    <meta charset="utf-8"/>
    <title>Some Title Words</title>
    <meta name="headerimg" content="[image-caption](image-path.jpg)"/>
    </head>
    <body>

    <p>[image-caption](image-path.jpg)</p>

    </body>
    </html>

    The metadata should be used to replace the variable (that part should
    work). But no, the link will not be interpreted as a Markdown link, as
    it was not available when the parser analyzed the source text.

    F-

  2. fletcher closed this discussion on 02 May, 2018 12:13 AM.

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

Recent Discussions

08 Dec, 2018 08:58 PM
14 Nov, 2018 04:54 AM
09 Nov, 2018 04:49 PM
09 Nov, 2018 04:46 PM
09 Nov, 2018 04:44 PM

Recent Articles