[openscreenprotocol] Pull Request: Add CDDL highlighting for messages appendix

baylesj has just submitted a new pull request for https://github.com/webscreens/openscreenprotocol:

== Add CDDL highlighting for messages appendix ==
This patch adds support for highlighting CDDL
snippets using a custom Pygments lexer called CddlLexer. All *.cddl
files in the openscreenprotocol will automatically be compiled to HTML
by the pygmentize_dir script (now ran as part of make index.html), and
then can be included from the index.bs file using the "<pre
class=include>" declaration. A new code-style.html file is also
included, which results in the code being highlighted similar to
GitHub's standards.

See https://github.com/webscreens/openscreenprotocol/pull/141

Received on Monday, 18 March 2019 18:21:25 UTC