Move functionality that can be from the renderer into the preproc, so they are supported even with e.g. mdbook serve, and moe robust against future mdBook updates.
Also the custom container / admonitions syntax was slightly tweaked to align with the syntax over there.
This serves as a prototype to the eventual resolution of gbdev/gb-asm-tutorial#69, since Pan Docs can benefit from the same changes, and its renderer is simpler—it was easier to tinker with.
Move functionality that can be from the renderer into the preproc, so they are supported even with e.g.
mdbook serve
, and moe robust against future mdBook updates.Also the custom container / admonitions syntax was slightly tweaked to align with the syntax over there.
This serves as a prototype to the eventual resolution of gbdev/gb-asm-tutorial#69, since Pan Docs can benefit from the same changes, and its renderer is simpler—it was easier to tinker with.