File: highlightjs_lang.html

package info (click to toggle)
python-markdown2 2.3.7-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,952 kB
  • sloc: python: 2,790; makefile: 35
file content (23 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<pre><code class="cpp">here is some cpp code
</code></pre>

<pre><code class="lang-cpp">some lang-cpp code
</code></pre>

<pre><code class="language-cpp">and some language-cpp code
</code></pre>

<pre><code class="nohighlight">some code without highlighting
</code></pre>

<p>That's using the <em>fenced-code-blocks</em> and <em>highlightjs-lang</em> extra.</p>

<p>Here is an empty one (just to check):</p>

<pre><code class="cpp">
</code></pre>

<p>Here is one at the end of the file:</p>

<pre><code class="cpp">    is indentation maintained?
</code></pre>