Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by teilo on Friday January 21, 2022 @09:07AM
(#30023627)
How not to code an HTML page by hand.
[ Parent
| on HN ]
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by kxra on Friday January 21, 2022 @09:34AM
(#30023988)
The end of the URL got trimmed upon submition, so its pointing to the unrendered markdown URL for some reason. Here's the rendered page: https://write.as/n5r0vjolumdnuk2k.md#title
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by Operyl on Friday January 21, 2022 @10:21AM
(#30024701)
Thank god, I was thinking it was some stylistic choice to have to read all those links inline in unrendered markdown.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by 988747 on Friday January 21, 2022 @10:18AM
(#30024647)
Why won't trimmed URL simply redirect to a proper one? Or throw 404 even? This seems like a webserver misconfiguration of sorts, kind of like being able to access raw PHP pages, instead of rendered ones.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by SahAssar on Friday January 21, 2022 @10:28AM
(#30024836)
I'm guessing write.as is supposed to support multiple languages, and only renders the markdown if you have .md as an extension.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by wnoise on Friday January 21, 2022 @11:27AM
(#30025794)
Which is the exact opposite of what I expect and want -- the bare filename should render, and the .md extension should get the markdown source.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by kxra on Friday January 21, 2022 @12:04PM
(#30026370)
Agreed. Write.as is open source, you can file a ticket against WriteFreely on github
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by SahAssar on Saturday January 22, 2022 @05:31AM
(#30035461)
If the source can be different languages (like md, html, rst, org-mode, wikitext) and the language isn't stored then this choice makes text.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by exciteabletom on Friday January 21, 2022 @09:21AM
(#30023817)
<p>How <b>not</b> to code an <a href="https://en.wikipedia.org/wiki/HTML">HTML</a> page by hand.</p>
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by JonathonW on Friday January 21, 2022 @11:31AM
(#30025839)
In next week's episode, how not to write your URL-detection regex.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition
by sodality2 on Friday January 21, 2022 @03:28PM
(#30029551)
You can't parse [X]HTML with regex: https://stackoverflow.com/a/1732454