File: prism-markdown.html

package info (click to toggle)
node-prismjs 1.30.0%2Bdfsg%2B~1.26.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,220 kB
  • sloc: javascript: 27,628; makefile: 9; sh: 7; awk: 4
file content (69 lines) | stat: -rw-r--r-- 1,241 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<h2>Titles</h2>
<pre><code>Title 1
==

Title 2
-------

# Title 1
## Title 2
### Title 3
#### Title 4
##### Title 5
###### Title 6
</code></pre>

<h2>Bold and italic</h2>
<pre><code>*Italic*
**Bold on
multiple lines**
*Italic on
multiple lines too*
__It also works with underscores__
_It also works with underscores_

__An empty line

is not allowed__
</code></pre>

<h2>Links</h2>
<pre><code>[Prism](http://www.prismjs.com)
[Prism](http://www.prismjs.com "Prism")

[prism link]: http://www.prismjs.com (Prism)
[Prism] [prism link]
</code></pre>

<h2>Lists and quotes</h2>
<pre><code>* This is
* an unordered list

1. This is an
2. ordered list

* *List item in italic*
* **List item in bold**
* [List item as a link](http://example.com "This is an example")

> This is a quotation
>> With another quotation inside
> _italic here_, __bold there__
> And a [link](http://example.com)
</code></pre>

<h2>Code</h2>
<pre><code>Inline code between backticks `&lt;p>Paragraph&lt;/p>`

    some_code(); /* Indented
    with four spaces */

	some_code(); /* Indented
	with a tab */
</code></pre>

<h2>Raw HTML</h2>
<pre><code>> This is a quotation
> Containing &lt;strong>raw HTML&lt;/strong>

&lt;p>*Italic text inside HTML tag*&lt;/p></code></pre>