After upgrading to rouge, I noticed the syntax highlighting in octodown has
disappeared. It seems that the pre tags were being removed, which are
neccesary for correct highlighting with rouge. This commit fixes this by
replacing the inner_html of the preblock with the code highlighted by rouge.
After upgrading to rouge, I noticed the syntax highlighting in
octodown
has disappeared. It seems that thepre
tags were being removed, which are neccesary for correct highlighting with rouge. This commit fixes this by replacing theinner_html
of the preblock with the code highlighted by rouge.