News for hackers. Stuff that matters.
Re:The easy way to make a website with Markdown by nashashmi on Tuesday September 02, 2025 @12:23PM (#45105205)
Markdown should be baked in to browsers as native now.
Re:The easy way to make a website with Markdown by lelanthran on Tuesday September 02, 2025 @03:17PM (#45107735)
> 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.

Re:The easy way to make a website with Markdown by nashashmi on Tuesday September 02, 2025 @04:27PM (#45108557)
Yeah but then the script tag will show up in markdown viewers.
Re:The easy way to make a website with Markdown by lelanthran on Tuesday September 02, 2025 @04:52PM (#45108887)
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.

Re:The easy way to make a website with Markdown by prmoustache on Tuesday September 02, 2025 @12:39PM (#45105492)
Well since markdown has been designed to be relatively comfortable to read in its source form, I initially thought this link would be an opinion piece on serving raw markdown pages using the browser ability to show text files as is.
Re:The easy way to make a website with Markdown by dtedesco1 on Thursday September 04, 2025 @08:04PM (#45133640)
Ha! I would love that.