Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

HTML tags not mixing with markdown

Started by David Douglass 3 years ago · 1 replies · 553 views
3 years ago

For styles that are can not be done in Markdown, you're supposed to be able, in most cases, mix html tags together with the Markdown. However, on my site I have tried this and what happens is the html tags show up and the styles are not applied to the text, but the markdown is. I've done a Google search and tried everything suggested, but nothing works. The only things that work are the markdown styles.

I have even tried using the markdown="1" in blocks and that doesn't work either.

When I first started mixing the two, it was working, but then after some time the html tags began appearing in the text. Maybe there is some config file that needs tweaking?

Why is this happening?

3 years ago

I think it would be much easier to understand the issue if you provided examples of your content MD file, what you get, what you expect and what's you yaml config for content parsing

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 196 2 months ago
Themes & Styling · by Ian, 2 months ago
3 92 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 452 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 46 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 126 3 months ago