zine
zine copied to clipboard
Fast, Scalable, Flexible Static Site Generator (SSG)
While solving #9, a couple of TODOs are left in the JS code: https://github.com/kristoff-it/zine/blob/2b2156ec8728fa0b7dabbe009c3a256f691a83ae/zine/server/watcher/zinereload.js#L58-L67 It's about finding `background` and `border` properties in stylesheets (including inline styles) that reference images, and...
Currently we depend on Tree Sitter in markdown-renderer but we don't use any of its parsers for syntax highlighting, and the only highlighting we do support is Zig because we...
When trying to build a markdown file with a language unsupported for syntax highlighting, e.g. ````md ```ld hello world ``` ```` zine throws an error. Since this is valid markdown,...
The line numbers printed by this bit of code are offset from the start of the markdown document, but these are incorrect if the document has front matter. https://github.com/kristoff-it/zine/blob/ebd8796f4a1c20c938693431aa638fbaa35a9fe4/src/exes/markdown-renderer.zig#L248
The following code yields a panic: ```html ``` ``` /home/felix/.cache/zig/p/1220b10ab22d344339c4178565f981e7273d38ee702fbf9b18c1ae67da5eea81f34d/super/src/SuperTree.zig:0:0: 0x3191292 in buildNode (layout) /home/felix/.cache/zig/p/1220b10ab22d344339c4178565f981e7273d38ee702fbf9b18c1ae67da5eea81f34d/super/src/SuperTree.zig:499:44: 0x3168cef in init (layout) const new_node = try self.buildNode(arena, elem, depth) orelse continue; ^ /home/felix/.cache/zig/p/1220b10ab22d344339c4178565f981e7273d38ee702fbf9b18c1ae67da5eea81f34d/super/src/interpreter.zig:221:51:...