Re:Ask HN: If you are starting in 2024, what is the most pro...
by shpx on Saturday June 08, 2024 @12:31PM
(#40618664)
I spent hours researching the right Markdown to HTML renderer. Writing HTML by hand would've been faster. There's dozens of these frameworks and none are perfect.
Re:Ask HN: If you are starting in 2024, what is the most pro...
by hiatus on Saturday June 08, 2024 @12:43PM
(#40618765)
Or use something like strapdown and let the client handle rendering.
Re:Ask HN: If you are starting in 2024, what is the most pro...
by alright2565 on Saturday June 08, 2024 @04:09PM
(#40619920)
The strapdown website works surprisingly well with Javascript disabled & is less than 50KiB excluding images. It does take (just barely) perceptibly longer to load than a traditional site.
But I've generally seen sites using this strategy to be a lot more bloated and slow, so please be considerate of that if you can.
Re:Ask HN: If you are starting in 2024, what is the most pro...
by shpx on Saturday June 08, 2024 @04:35PM
(#40620036)
When I clicked that link I saw a flash of unstyled content, so that's immediately worse than HTML.
My point was that if you count the time spent looking for the perfect renderer, HTML is faster and easier to write than Markdown unless you're writing a book. You just added another option someone has to spend time evaluating to the pile.
Re:Ask HN: If you are starting in 2024, what is the most pro...
by hiatus on Saturday June 08, 2024 @04:59PM
(#40620139)
There is no need to look for the "perfect" renderer. That reminds me of the authors that won't write unless they have the best notebook, pen, etc. Just write your content and throw strapdown on it. Who really cares if there's a flash of unstyled content?
These days you can probably just write whatever format you like and Claude or ChatGPT will convert it to HTML.