From 51d4920a2ef1b334c9f3cbca70f5743bab8313e8 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 7 Aug 2021 11:10:15 +0200 Subject: [PATCH] Fixed #2913: Disabled Critic extension to omit zero-width whitespace characters --- docs/reference/formatting.md | 33 +++++++++++++++++++-------------- mkdocs.yml | 3 +-- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/docs/reference/formatting.md b/docs/reference/formatting.md index d52b206db..bb600c833 100644 --- a/docs/reference/formatting.md +++ b/docs/reference/formatting.md @@ -121,20 +121,6 @@ document: _Example_: ``` markdown -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. - -==} -``` - -_Result_: - 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<<}. @@ -145,6 +131,25 @@ 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. ==} +``` + +_Result_: + +Text can be deleted and replacement text +added. This can also be combined into +onea 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 diff --git a/mkdocs.yml b/mkdocs.yml index 16a53451e..840905e81 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -55,7 +55,7 @@ theme: # - header.autohide # - navigation.expand # - navigation.indexes - - navigation.instant + # - navigation.instant - navigation.sections - navigation.tabs # - navigation.tabs.sticky @@ -142,7 +142,6 @@ markdown_extensions: - pymdownx.betterem: smart_enable: all - pymdownx.caret - - pymdownx.critic - pymdownx.details - pymdownx.emoji: emoji_index: !!python/name:materialx.emoji.twemoji