Skip to content

Show HN: emacs-ssg file-based routing site generation with and without Emacs

sctlib.gitlab.io
3 pointsngc6677discuss
On HN

Emacs' org-mode is great to write documents (.org files, similar to .md) and export them to HTML.

It is also practical to evaluate and export "code blocks", like "notebooks" would do (observable framework, jupyter, mdx etc.).

With emacs-ssg, we don't have to use emacs to write the document, but in the background it is used to evaluate the files and produce the HTML result in a `./public` folder.

With `npm create @sctlib/emacs-ssg` we get the textual list of the few steps it takes to install and publish a project with content.

This project is mainly a wrapper around emacs and org-mode, to allow usage in the npm ecosystem and ways of publishing websites and pages. It tries to add nothing but a formal way to organize content in `/content` for each pages and `/assets/{js,css,…}/` for the static assets.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.