Hi Daniel,
I created this CSS file which mimics (in a simple way) the Github markdown CSS to make the online manual prettier. I've tested it locally on the html manual but not yet PDF (need to install pdflatex).
You need to add --css cppcheck.css to the pandoc command line. You also need to put the CSS file in the same directory as the html file as it's not embedded.
There's a small change to the .md file to format some of the bullet lists correctly.
I'd create a pull request but my Git foo is useless as I normally live in SVN land.
Simon
hmm.. the pdf looks a bit different than the html. The background color for code examples do not seem to be used for instance. Well I do think this looked better.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's an update for the PDF. It gets processed via LaTeX, so doesn't use the CSS at all.
It's a bit more cumbersome to put on the command line but it now looks similar to the GitHub style CSS.
I've set it to use the xelatex engine so that it can use any font on your system. I don't know if you have Segoe UI and Consolas on yours, or if they're just Microsoft. You could change those fonts if required.
Hi Daniel,
I created this CSS file which mimics (in a simple way) the Github markdown CSS to make the online manual prettier. I've tested it locally on the html manual but not yet PDF (need to install pdflatex).
You need to add --css cppcheck.css to the pandoc command line. You also need to put the CSS file in the same directory as the html file as it's not embedded.
There's a small change to the .md file to format some of the bullet lists correctly.
I'd create a pull request but my Git foo is useless as I normally live in SVN land.
Simon
Thanks!
hmm.. the pdf looks a bit different than the html. The background color for code examples do not seem to be used for instance. Well I do think this looked better.
Here's an update for the PDF. It gets processed via LaTeX, so doesn't use the CSS at all.
It's a bit more cumbersome to put on the command line but it now looks similar to the GitHub style CSS.
I've set it to use the xelatex engine so that it can use any font on your system. I don't know if you have Segoe UI and Consolas on yours, or if they're just Microsoft. You could change those fonts if required.
OK, so I finally got a proper pull request set up. You can ignore the files here.