diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:29:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:29:52 +0000 |
commit | fcb2f10732db61d216e2105c8154486f66b3e3ff (patch) | |
tree | efda929db4b1543eecc583e3b7d9c0bad4cd86a6 /tests/fixtures/myst_role.md | |
parent | Initial commit. (diff) | |
download | mdit-py-plugins-upstream.tar.xz mdit-py-plugins-upstream.zip |
Adding upstream version 0.3.3.upstream/0.3.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/fixtures/myst_role.md')
-rw-r--r-- | tests/fixtures/myst_role.md | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/tests/fixtures/myst_role.md b/tests/fixtures/myst_role.md new file mode 100644 index 0000000..4b2c248 --- /dev/null +++ b/tests/fixtures/myst_role.md @@ -0,0 +1,104 @@ + +Basic: +. +{abc}`xyz` +. +<p><code class="myst role">{abc}[xyz]</code></p> +. + +Multiple: +. +{abc}`xyz`{def}`uvw` +. +<p><code class="myst role">{abc}[xyz]</code><code class="myst role">{def}[uvw]</code></p> +. + +Surrounding Text: +. +a {abc}`xyz` b +. +<p>a <code class="myst role">{abc}[xyz]</code> b</p> +. + +New lines: +. +{abc}`xy +z` `d +e` +. +<p><code class="myst role">{abc}[xy z]</code> <code>d e</code></p> +. + +In Code: +. +`` {abc}`xyz` `` +. +<p><code>{abc}`xyz`</code></p> +. + +Empty content: +. +{name}`` a +. +<p>{name}`` a</p> +. + +Surrounding Code: +. +`a` {abc}`xyz` `b` +. +<p><code>a</code> <code class="myst role">{abc}[xyz]</code> <code>b</code></p> +. + +In list: +. +- {abc}`xyz` +. +<ul> +<li><code class="myst role">{abc}[xyz]</code></li> +</ul> +. + +In Quote: +. +> {abc}`xyz` b +. +<blockquote> +<p><code class="myst role">{abc}[xyz]</code> b</p> +</blockquote> +. + +Multiple ticks: +. +{abc}``xyz`` +. +<p><code class="myst role">{abc}[xyz]</code></p> +. + +Inner tick: +. +{abc}``x`yz`` +. +<p><code class="myst role">{abc}[x`yz]</code></p> +. + +Unbalanced ticks: +. +{abc}``xyz` +. +<p>{abc}``xyz`</p> +. + +Space in name: +. +{ab c}`xyz` +. +<p>{ab c}<code>xyz</code></p> +. + +Escaped: +. +\{abc}`xyz` +. +<p>{abc}<code>xyz</code></p> +. |