Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the best way to avoid markdown parser in certain areas ? #262

Open
t00f opened this issue Jun 26, 2017 · 1 comment
Open

What is the best way to avoid markdown parser in certain areas ? #262

t00f opened this issue Jun 26, 2017 · 1 comment

Comments

@t00f
Copy link

t00f commented Jun 26, 2017

Hi guys,

Working with mardown2, I am trying to generate some jinja2 code.
In my markdown file, I have a link that is dynamically set from a configuration.

[{{config.get_download_link}}]({{config.get_download_link}})

This generates the following output:

<p><a href="{{config.get_download_link}}">{{config.get<em>download</em>link}}</a></p>

It works fine from a markdown perspective, but I would like to avoid computing an HTML output between {{ and }}.

Is there a recommended way ? Any idea ?

@nicholasserra
Copy link
Collaborator

Hey @t00f, what do you mean by avoid computing an HTML output? I'm not sure from your description exactly what you're trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants