News for hackers. Stuff that matters.
Re:My favorite Erlang Program (2013) by ubq323 on Monday June 06, 2022 @09:38PM (#31648861)
why does this page need javascript to render anything? it's a static page...
Re:My favorite Erlang Program (2013) by clone1018 on Tuesday June 07, 2022 @06:57AM (#31652353)
Looks like the website is actually a thin layer of JavaScript that converts the blog post from markdown, injects it as HTML, and then renders the comments below it. Without JS the site is just a hidden textarea.
Re:My favorite Erlang Program (2013) by capableweb on Tuesday June 07, 2022 @07:38AM (#31652673)
I'm not sure it's markdown specifically, seems to be a homegrown markup language, made by Joe himself. Here is the "renderer" part of the website: https://joearms.github.io/src/expander.js

> expander.js - a markup parser

> Hopefully the last JS I every write

> Very few regular expressions were used in the construction of this program

> No libraries were were used in the construction of this program

> All faults are mine and mine alone

> Appears to work :-)

Points to https://github.com/joearms/bookmaker which doesn't seem to exist anymore.

Re:My favorite Erlang Program (2013) by Zababa on Tuesday June 07, 2022 @10:49AM (#31655177)
Re:My favorite Erlang Program (2013) by ts0000 on Tuesday June 07, 2022 @06:53AM (#31652323)
Comment section.