Currently the backend renders JSON and Markdown while the frontend parses the JSON and Markdown into HTML. Bits and pieces are all over the place with no rhyme or reason.
It'd be cleaner to just have one side do everything, and it seems as though the backend doing it would be the simpler solution, considering it has access to all the go/ packages already for parsing. However, the frontend needs to be able to collapse sections, link around, add buttons, style, etc. It might have to be done all on the frontend, even if it's the more difficult solution.
Currently the backend renders JSON and Markdown while the frontend parses the JSON and Markdown into HTML. Bits and pieces are all over the place with no rhyme or reason.
It'd be cleaner to just have one side do everything, and it seems as though the backend doing it would be the simpler solution, considering it has access to all the
go/
packages already for parsing. However, the frontend needs to be able to collapse sections, link around, add buttons, style, etc. It might have to be done all on the frontend, even if it's the more difficult solution.