Gitbook Sunlight Highlighter Test

This is the test pages of GitBook plugin sunlight-highlighter. Fenced code blocks and the GitBook plugin include-codeblock are tested. Browse the following pages to see the results.

Note: due to the ways Calibre filters the CSS, line numbering are not compatible with PDF/e-book output. Sadly I cannot find relevant documentation about how Calibre process CSS, so this cannot be solved in the near future. You can see those outputs and how is the output malform.

Source code of test pages are dumped at the bottom of each page with include-codeblock. Since the default templates of include-codeblock cannot handle fenced code block, the following template is used instead:

{% if file.type=="asciidoc" %}
[source,{{lang}}]
....................
{{{content}}}
....................
{% else %}
```````````````````` {{lang}}
{{{content}}}
````````````````````
{% endif %}

results matching ""

    No results matching ""