Replies: 1 comment
-
For HTML parsing, I generally use cheerio (although I've never used it w/ 11ty; but theoretically it should be possible to do some HTML parsing using a custom filter, if needed). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#1266 maybe related.
I have a set of markdown files, which I am using to display elsewhere with collections feature.
using nunjucks for loop:
{{ item.templateContent | safe }}
would parse the whole markdown as it is.But I would like to use it as html
<details>
tag to display it. Any way to parse content of html / md?Beta Was this translation helpful? Give feedback.
All reactions