org-mode already has this. Unfortunately, people seem to continue to use the inferior version of org known as Markdown. It is somewhat like how pdf overtook the superior format djvu.
Richard P. Gabriel (who every Emacs person should know) wrote "Worse is Better"[1] in 1984, which is directly applicable. To summarise, "worse" software prioritises simplicity of implementation and priortises simplicity over correctness. [1] https://www.dreamsongs.com/RiseOfWorseIsBetter.html
Show HN: Markdown as web page/site
41–50 of 60 posts
Re: Show HN: Markdown as web page/site
#42
text with markdown syntax goes here
// use showdown.js to convert the innerHTMLin .md syntax to html code
// use bootstrap to make the accordion-item collapsible/expandable
// use js to make a floating TOC
If anybody uses both showdown.js and this casual-markdown.js, could you give some comments?Re: Show HN: Markdown as web page/site
#43Re: Show HN: Markdown as web page/site
#44There appears to be many comments here, arguing that authoring web content in markdown is nothing new, and correctly so. But this (along with md-page and mdwiki mentioned in other comments) is actually an interesting small twist on it. Regularly the conversion is done on the server side, and everything is published in html. Here, you both author and publish in markdown. What this library does, if I'm reading it corre…
Astro https://astro.build/
Re: Show HN: Markdown as web page/site
#45Re: Show HN: Markdown as web page/site
#46Believe there may also be something similar for Apache?
Re: Show HN: Markdown as web page/site
#47This requires JavaScript to dynamically serve HTML. So this wastes everybody’s CPU for a deterministic computation that could be served directly. I’m not sure what’s the use case for this, but for static content seems wasteful and a bad idea in general.
The amount of CPU waste would be negligible.
Re: Show HN: Markdown as web page/site
#48Re: Show HN: Markdown as web page/site
#49Earlier quoted context omitted.
The amount of CPU waste would be negligible.
It stops being negligible if the page gets popular.
Re: Show HN: Markdown as web page/site
#50I visited the documentation site on a slow mobile connection and it took a long time and even a refresh to load. This seems to be a bad way of doing something that has been solved by static site generators for a long time.