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

11 Dec, 2022 09:57 PM
11 Dec, 2022 07:57 PM
26 Sep, 2022 02:40 AM
21 Jul, 2022 10:22 AM
11 Jan, 2022 02:33 PM

Recent Articles