I want something that is:

  • SSG (static site output)
  • looks nice
  • is a template I can use out of the box by just dropping in my content and configurations, rather than designing or building myself
  • is not feature-poor. I want it to have features like footnotes, jump-to-section links, citations, on-hover pop-ups for citations or footnotes, syntax highlighting for code blocks, etc.
  • nice to have: ability to draw basic graphs or diagrams (helps in technical explanations)
  • is not too difficult to customize by editing the code directly, Customizing the looks, structure, or adding functionality if I needed

Programming language doesn’t matter much. I can use whatever. I do have a preference for functional languages.

Eleventy seems like a great framework to do this, but as I said I want a template that’s ready out of the box not just a framework. The blogging template I found for eleventy does not look as nice as I hope.

  •  TehPers   ( @TehPers@beehaw.org ) 
    link
    fedilink
    English
    24 months ago

    Framework-wise, I really like Astro. They have some themes you can explore here.

    I’m not sure if any themes support charts, graphs, and diagrams out of the box, but they use remark and rehype to convert markdown to html, so you could look for a rehype plugin to do it and add it to your config if you want. For example, you could try using rehype-mermaid to generate diagrams using mermaid.