From 55c196bd96a8bbe0541bb4eaf5e0b0aa23e07a98 Mon Sep 17 00:00:00 2001 From: Cat Tom Date: Wed, 24 Jul 2024 23:15:49 +0800 Subject: [PATCH] formatting --- docs/examples/index.md | 32 +++++++++++++++++++++++++++++++- mkdocs.yml | 2 +- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/docs/examples/index.md b/docs/examples/index.md index cd60a78..7b9cf5f 100644 --- a/docs/examples/index.md +++ b/docs/examples/index.md @@ -233,4 +233,34 @@ Lorem ipsum[^1] dolor sit amet, consectetur adipiscing elit.[^2] [^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. \ No newline at end of file + 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++ \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index e0e24e4..bcdd28f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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: