Markdown in HTML
isaiah08

Is there a HTML tag that processes markdown? I know that there is a way to do it with JS, but can you do it just with HTML?

doesn't work.

You are viewing a single comment. View All
Baconman321

No, but you can make a parser quite easily. Just use JavaScript to go over each character of the text and find the commands for markdown.

For code, you can use a syntax highlighter.

isaiah08

Thanks for the quick response! @Baconman321

Baconman321
xxpertHacker

@Baconman321 Since when is creating a markdown parser from scratch that fully conforms to the MD specification quite easy.

Btw, the parser I've used was this one; very easy setup.

(Example of use in real Repl: https://repl.it/@EpicGamer007/HackTalk#modules/md.mjs)