News for hackers. Stuff that matters.
Re:The plain-text internet is coming by aendruk on Monday March 28, 2022 @12:01PM (#30831922)
This is how I imagine browser support for markdown could work. Plain text comes in over the wire and is rendered to taste.
Re:The plain-text internet is coming by neurotrace on Monday March 28, 2022 @12:04PM (#30831963)
You should check out Gemini[1]. That's basically how it works.

[1]: https://gemini.circumlunar.space/

Re:The plain-text internet is coming by aendruk on Monday March 28, 2022 @12:18PM (#30832131)
Gemini sets a good example, but what I’m specifically advocating for is an incremental improvement to how we use the existing web. Fixing e.g. [1] (falling back to plaintext) should be trivial, and with that obstacle removed there would be nothing stopping early adopters from publishing in markdown today.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1319262

Re:The plain-text internet is coming by a9h74j on Monday March 28, 2022 @12:35PM (#30832348)
Perhaps advertise to the browser per se as plaintext, then have an extension look for a magic number or readable flag to indicate specific-markup-type, and translate from there more opportunistically.

Plaintext infrastructure; readable markup; optional (semi-automated?) styling from there.

(Perhaps your higher-up comment already suggests as much.)

Re:The plain-text internet is coming by zamadatix on Tuesday March 29, 2022 @07:27AM (#30841190)
I think you can just serve text/markdown and things that don't know the markdown subtype will just display as plaintext because of the text main type while things that do e.g. extension registering the mime type will render it. Would need to test to verify though.