Log in Sign up

Metadata in markdown links?

Just wondering if there is any way to use metadata tags in markdown links? At the moment this markdown:


Becomes, this HTML:

<img src="/%7B%7Burl%7D%7D_images/picture.jpg" alt="caption">

The brackets just get encoded. Can this be avoided? Or should I just use HTML to start with?

1 replies

There is no way to use the variables in your post!

But if you're trying to embed an image within your blog folder, please note you don't need to fully-qualify the URL. For example, this markdown will render correctly given your current directory structure:


And this will work too, if _picture.jpg is inside the same directory as the markdown file:


Does that help?

Answered 3 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 61 questions bug 30 questions templates 21 questions posts 20 questions meta 19 questions metadata 17 questions resolved 16 questions how 12 questions markdown 9 questions tags 9 questions More tags →
Subscribe for changes
RSS Feed of latest questions