It would really tickle my pickle if the diff output had either id values on elements or a hierarchy of tags so that it became easier to parse. For example, to get updated dylibs you must currently find the DSC h2, then the updated dylibs h3, then find any ul below it.
If they had some predictable id attribute, such as [dsc|fs]-updated or putting them under a div with the same name, parsing it would be much simpler.
I am currently using a 3rd party lib to auto convert the markdown to html. But Go has great html templating so I should def just use that instead as I’m using the template engine for the markdown. 👍
It would really tickle my pickle if the diff output had either
id
values on elements or a hierarchy of tags so that it became easier to parse. For example, to get updated dylibs you must currently find the DSCh2
, then the updated dylibsh3
, then find anyul
below it.If they had some predictable
id
attribute, such as[dsc|fs]-updated
or putting them under a div with the same name, parsing it would be much simpler.