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

Markdown Inside of HTML Tags are not Rendered #89

Open
manuth opened this issue Oct 8, 2019 · 0 comments
Open

Markdown Inside of HTML Tags are not Rendered #89

manuth opened this issue Oct 8, 2019 · 0 comments

Comments

@manuth
Copy link

manuth commented Oct 8, 2019

On the website markdown-tags inside of html-blocks aren't rendered.

<div class="alert alert-danger">
The `.env` file is meant for development environments only. While it could theoretically be used in production this is *not* recommended, and should only be used as a last resort in hosting environments where setting server level or true environment variables is not an option. Please see the documentation for your web server for more information. E.g. [Apache](https://httpd.apache.org/docs/2.4/mod/mod_env.html#setenv)
</div>

This issue can be solved by either not using markdown-syntax inside of HTML-elements or by using a markdown-engine which supports Markdown-syntax inside of HTML.

In Kramdown, for example, you can use markdown-language inside of HTML-elements by adding a markdown="1"-attribute to the HTML-tag:

### Warning

<div class="alert alert-danger" markdown="1">
Markdown is **supported** inside this html-tag!
</div>
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

1 participant