-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.html
More file actions
132 lines (126 loc) · 3.53 KB
/
output.html
File metadata and controls
132 lines (126 loc) · 3.53 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<p>Text</p>
<br />
<p>Long:</p>
<p>Donec laoreet maximus facilisis. Donec tempor efficitur tristique. Duis fringilla, augue sed porta posuere, orci odio feugiat massa, vitae laoreet nibh tortor id sem. Ut pretium odio porttitor elit egestas, eu posuere libero ullamcorper. Maecenas lobortis pharetra viverra. Praesent gravida dignissim sapien a imperdiet. Curabitur ultricies porttitor lectus ac laoreet. Etiam urna magna, accumsan id libero cursus, dignissim imperdiet nisi. Proin nec posuere nisl, non mattis ante. Mauris eu tincidunt nisi.</p>
<br />
<p>Short:</p>
<p>Some text</p>
<br />
<p>Random:</p>
<p>123 456 789</p>
<p>$%^&(*^&)</p>
<p>😂🥖🏴☠️</p>
<br />
<p>HTML:</p>
<p><h1>Title & Heading</h1></p>
<p><p class="quoted">'quotes'</p></p>
<br />
<p>Should remain as text and keep leading whitespace:</p>
<p> space indented text</p>
<p> tab indented text</p>
<p> => Not a link because of the leading space</p>
<p>= Still not a link because it's missing ></p>
<p> ## Not a heading because of the leading spaces</p>
<p> * Not a list because of the leading tab</p>
<p> > Not a quote because of the leading spaces and tab</p>
<p> ``` Not preformat toggle because of the leading tab and spaces</p>
<p>``Still not preformat toggle because it's missing a `</p>
<br />
<p>Multiple empty lines:</p>
<br />
<br />
<br />
<br />
<br />
<br />
<p>Link</p>
<br />
<p><a href=""></a></p>
<p><a href="gemini://example.org/">gemini://example.org/</a></p>
<p><a href="gemini://example.org:1234/a?b=c&d=e#f">gemini://example.org:1234/a?b=c&d=e#f</a></p>
<p><a href="gemini://example.org">Name</a></p>
<p><a href="gemini://example.org/some%20page">User friendly link name</a></p>
<p><a href="path/to/some.txt">Relative link</a></p>
<p><a href="/path/to/some.gmi">Absolute link</a></p>
<p><a href="gopher://example.org:70/1">Gopher link</a></p>
<p><a href="http://example.org">HTTP link</a></p>
<br />
<p>Heading</p>
<br />
<h1>Level 1</h1>
<h2></h2>
<h2>Level 2</h2>
<h3>Level 3</h3>
<h3>#Still level 3</h3>
<br />
<p>List</p>
<br />
<ul>
<li>Some</li>
<li>Bullet</li>
<li>Points</li>
</ul>
<br />
<p>Quote</p>
<br />
<blockquote><p>“A quote by a wise person.” ― Anonymous</p></blockquote>
<br />
<p>Preformat toggle</p>
<br />
<pre>
</pre>
<pre>
Some
Text
Preformatted
</pre>
<br />
<p><a href="/random/link/in/between">To test if it toggles correctly</a></p>
<br />
<figure><figcaption>Another empty block</figcaption><pre>
</pre></figure>
<ul>
<li>Random list in between</li>
<li>To test if it toggles correctly</li>
</ul>
<figure><figcaption>Interpreted as text because inside a preformatted block</figcaption><pre>
=>gemini://example.org Name
#Level 1
*Some
>“A quote by a wise person.” ― Anonymous
</pre></figure>
<br />
<figure><figcaption>ASCII art from https://www.asciiart.eu/computers/linux</figcaption><pre>
_nnnn_
dGGGGMMb
@p~qp~~qMb
M|@||@) M|
@,----.JM|
JS^\__/ qKL
dZP qKRb
dZP qKKb
fZP SMMb
HZM MMMM
FqM MMMM
__| ". |\dS"qML
| `. | `' \Zq
_) \.___.,| .'
\____ )MMMMMP| .'
`-' `--' hjm
</pre></figure>
<figure><figcaption>js</figcaption><pre>
function main() {
console.log("Hello World!");
}
main();
</pre></figure>
<h1>Random heading in between</h1>
<br />
<h3>To test if it toggles correctly</h3>
<pre>
This
Will
Be
Left
Unclosed
</pre>