bennorth / literate-git

Render hierarchical git repositories into HTML
GNU General Public License v3.0
73 stars 4 forks source link

Add syntax highlighting #2

Closed lukel97 closed 5 years ago

lukel97 commented 5 years ago

It works by running each file in the trunk through pygments, and then matching up the lines from the hunk when rendering. Definitely not the most efficient way of doing this!

bennorth commented 5 years ago

Thanks; this makes the output look much better! I've rebased on top of your other PR and merged in at b3cabd01.