Hacker News new | ask | show | jobs
by lelanthran 293 days ago
> Markdown should be baked in to browsers as native now.

That is not hard to do, if you're okay with adding a script tag in your header.

1 comments

Yeah but then the script tag will show up in markdown viewers.
I meant add a `<script src=...>` to the `<head>` section of the page.

Not perfect, to be sure, but it lets you create a custom element `<mark-down src=...>` that lets the page author sprinkle markdown everywhere in their page.