Skip to content

How to parse HTML in markdown as a single node instead of separate nodes for opening tag, content, and closing tag? #745

Answered by wooorm
rr-codes asked this question in General
Discussion options

You must be logged in to vote

I just want to remove all HTML tags as well as their content

What about:

<main>

All
the
markdown
content

</main>

Short answer: no. But it sounds like an XY problem

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@wooorm
Comment options

@rr-codes
Comment options

@wooorm
Comment options

@rr-codes
Comment options

@wooorm
Comment options

Answer selected by wooorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants