formatting

This commit is contained in:
Cat Tom 2024-07-24 23:15:49 +08:00
parent 9c440b38db
commit 55c196bd96
2 changed files with 32 additions and 2 deletions

View File

@ -234,3 +234,33 @@ Lorem ipsum[^1] dolor sit amet, consectetur adipiscing elit.[^2]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
## Formatting
### Highlighting changes
Text can be {--deleted--} and replacement text {++added++}. This can also be
combined into {~~one~>a single~~} operation. {==Highlighting==} is also
possible {>>and comments can be added inline<<}.
{==
Formatting can also be applied to blocks by putting the opening and closing
tags on separate lines and adding new lines between the tags and the content.
==}
### Highlighting text
- ==This was marked (highlight)==
- ^^This was inserted (underline)^^
- ~~This was deleted (strikethrough)~~
### Sub- and superscripts
- H~2~O
- A^T^A
### Adding keyboard keys
++ctrl+alt+del++

View File

@ -24,7 +24,6 @@ theme:
- content.code.copy
- content.code.annotate
- content.tabs.link
- content.footnote.tooltips
palette:
primary: blue grey
accent: light blue
@ -41,6 +40,7 @@ markdown_extensions:
- toc:
permalink: true
# Python Markdown Extensions
- pymdownx.critic
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem: