Show HN: Clayoven – beautiful website generator aimed at math-heavy sites
github.com
github.com
What exactly makes Clayoven beautiful? It seems to have a great niche purpose. Shouldn't the first adjective be something related to what math users would value?
1. You don't have a metadata header, like in most SSGs; timestamp is picked out from git-history, and topics/subtopics is simply picked out from the folder structure.
2. The syntax is terse, and features like un-numbered lists is excluded on purpose, because mathematicians like to number or letter everything.
3. The implementation of claytext is simple. There is no complicated markdown-processing, and even hard-wrapped lines are not allowed.
4. There's a dedicated vscode extension for auto-completing MathJaX. It also triggers a build-on-save, so you can just save changes in vscode and refresh the browser to see the changes.
5. Server-side rendering of math, so that the client isn't burdened with executing heavy javascript. It actually uses a custom fork of XyJaX to achieve this for commutative diagrams.
“Beauty” is very important to mathematicians. Check out the Wikipedia article on the subject:
>Mathematical beauty is the aesthetic pleasure typically derived from the abstractness, purity, simplicity, depth or orderliness of mathematics.
not of the type setting of mathematics (that's just regular plain old aesthetical beauty).
It's written by a Ruby dev? :P
> There is no published gem. To get started, clone, run bundle to install the required gems, and put bin/clayoven in $PATH.
Yuck? Is it so difficult to package and publish a gem these days? Did the author not find time to do so in the years they’ve been working on this project?
> To start writing, install vsclay for vscode, which will provide the necessary syntax highlighting, IntelliSense support for MathJaX, and trigger-[incremental build]-on-save functionality.
What about integration with other editors? Will my “beautiful” experience be ruined if I happen not to use vscode?
Definitely looks like a very “scratching my own itch” kind of project - worth sharing but the adjective used to present it sounds like an overstatement.
Demo: https://timdaub.github.io/SSRP/
Source: https://github.com/TimDaub/ssrp