HAIIII, I made a little static site generator that gets its posts from a memos server so I thought I would share that on here cause why not. It's made in python and quite simple to use with a basic templates system and a markdown to micron converter that is fully customisable with the config.json. Here is the github link is https://github.com/Finbear2/Nemos and I also made a blog post on my nomad site with this at the address c9e4c3bfc5fcf217d99b334052d2dabd. I hope this helps somebody :P
Nemos—A static site generator for nomad net with memos support :3
Started by Ashter64 1823727f54131695... ·
Nice :) And cool site you made with it!
In case you didn't know, there's also this build into RNS, which you can use if you want instead of markdownit:
from RNS.Utilities.rngit.util import MarkdownToMicron
mdc = MarkdownToMicron()
md = "# Hello World"
mu = mdc.format_block(md)
It also supports syntax highlighting for code blocks with pygments:
from RNS.Utilities.rngit.highlight import SyntaxHighlighter
mdc = MarkdownToMicron(syntax_highlighter=SyntaxHighlighter)
Or custom URL scopes for local links with the url_scope.
Oh, and another tip; you can make the background color full page with the #!bg= header.
OMG THANK U SO MUCH UHM YEAH THAT WOULDVE MADE EVERYTHING MUCH SIMPLER AND BETTER BUT LIKE... maybe the real project and the real static site generator is the friends we made along the way :3
Never hurts writing a markdown converter or two, for some it's part of the fun ;) Just wanted to make you aware if you hadn't seen it, before you got to implementing tables, emoji render width calculations and stuff like that ;)