I do this with asciidoc instead of- same advantages with git and llms but you get a tremendous amount more styling and functionality.