mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-01 10:09:54 +00:00
Fix sub and superscript renders. (#296)
This commit is contained in:
parent
691ec869f3
commit
2c5c2053bb
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ The main type of content in Lemmy is text which can be formatted with Markdown.
|
||||||
| \`Inline code\` with backticks | | `Inline code` with backticks |
|
| \`Inline code\` with backticks | | `Inline code` with backticks |
|
||||||
| \`\`\`<br>\# code block <br>print '3 backticks or'<br>print 'indent 4 spaces' <br>\`\`\` | ····\# code block<br>····print '3 backticks or'<br>····print 'indent 4 spaces' | \# code block <br>print '3 backticks or'<br>print 'indent 4 spaces' |
|
| \`\`\`<br>\# code block <br>print '3 backticks or'<br>print 'indent 4 spaces' <br>\`\`\` | ····\# code block<br>····print '3 backticks or'<br>····print 'indent 4 spaces' | \# code block <br>print '3 backticks or'<br>print 'indent 4 spaces' |
|
||||||
| ::: spoiler hidden or nsfw stuff<br>_a bunch of spoilers here_<br>::: | | <details><summary> hidden or nsfw stuff </summary><p><em>a bunch of spoilers here</em></p></details> |
|
| ::: spoiler hidden or nsfw stuff<br>_a bunch of spoilers here_<br>::: | | <details><summary> hidden or nsfw stuff </summary><p><em>a bunch of spoilers here</em></p></details> |
|
||||||
| Some ~subscript~ text | | Some <sub>subscript</sub> text |
|
| Some \~subscript\~ text | | Some <sub>subscript</sub> text |
|
||||||
| Some ^superscript^ text | | Some <sup>superscript</sup> text |
|
| Some \^superscript\^ text | | Some <sup>superscript</sup> text |
|
||||||
|
|
||||||
[CommonMark Tutorial](https://commonmark.org/help/tutorial/)
|
[CommonMark Tutorial](https://commonmark.org/help/tutorial/)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue