File: subscript_strikethrough.md

package info (click to toggle)
mdit-py-plugins 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 692 kB
  • sloc: python: 3,702; sh: 8; makefile: 7
file content (68 lines) | stat: -rw-r--r-- 2,131 bytes parent folder | download
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
Strikethrough versus subscript:
.
~~strikethrough~~versus~subscript~
.
<p><s>strikethrough</s>versus<sub>subscript</sub></p>
.

Subscript in strikethrough (beginning):
.
~~~subscript~strikethrough~~
This ends up being rendered as a code block, but that's expected.
Hence, it has to be closed with `~~~`
~~~
Only then will the following text be rendered as it is intended.
We cannot use `~~~subscript~strikethrough~~` at the beginning of a line.
.
<pre><code class="language-subscript~strikethrough~~">This ends up being rendered as a code block, but that's expected.
Hence, it has to be closed with `~~~`
</code></pre>
<p>Only then will the following text be rendered as it is intended.
We cannot use <code>~~~subscript~strikethrough~~</code> at the beginning of a line.</p>
.

Strikethrough in subscript (beginning):
.
~~~strikethrough~~subscript~
This ends up being rendered as a code block, but that's expected.
Hence, it has to be closed with `~~~`
~~~
Only then will the following text be rendered as it is intended.
We cannot use `~~~strikethrough~~subscript~` at the beginning of a line.
.
<pre><code class="language-strikethrough~~subscript~">This ends up being rendered as a code block, but that's expected.
Hence, it has to be closed with `~~~`
</code></pre>
<p>Only then will the following text be rendered as it is intended.
We cannot use <code>~~~strikethrough~~subscript~</code> at the beginning of a line.</p>
.

Subscript in strikethrough (end):
.
~~strikethrough~subscript~~~
.
<p><s>strikethrough<sub>subscript</sub></s></p>
.

Strikethrough in subscript (end):
.
TODO: ~subscript~~strikethrough~~~
.
<p>TODO: <sub>subscript</sub><sub>strikethrough</sub>~~</p>
.

Subscript in strikethrough:
.
~~strikethrough~subscript~strikethrough~~
.
<p><s>strikethrough<sub>subscript</sub>strikethrough</s></p>
.

Strikethrough in subscript:
.
TODO: ~subscript~~strikethrough~~subscript~
This should have beeen similar to *emphasised**strong**emphasised*.
.
<p>TODO: <sub>subscript</sub><sub>strikethrough</sub><sub>subscript</sub>
This should have beeen similar to <em>emphasised<strong>strong</strong>emphasised</em>.</p>
.