Fix sub and superscript renders.

This commit is contained in:
Dessalines 2024-02-25 20:41:37 -05:00
parent 691ec869f3
commit 6fb38be7e9

View file

@ -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 |
| \`\`\`<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> |
| Some ~subscript~ text | | Some <sub>subscript</sub> text |
| Some ^superscript^ text | | Some <sup>superscript</sup> text |
| Some \~subscript\~ text | | Some <sub>subscript</sub> text |
| Some \^superscript\^ text | | Some <sup>superscript</sup> text |
[CommonMark Tutorial](https://commonmark.org/help/tutorial/)