mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed #2913: Disabled Critic extension to omit zero-width whitespace characters
This commit is contained in:
@@ -121,20 +121,6 @@ document:
|
|||||||
_Example_:
|
_Example_:
|
||||||
|
|
||||||
``` markdown
|
``` 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
|
Text can be {--deleted--} and replacement text {++added++}. This can also be
|
||||||
combined into {~~one~>a single~~} operation. {==Highlighting==} is also
|
combined into {~~one~>a single~~} operation. {==Highlighting==} is also
|
||||||
possible {>>and comments can be added inline<<}.
|
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.
|
tags on separate lines and adding new lines between the tags and the content.
|
||||||
|
|
||||||
==}
|
==}
|
||||||
|
```
|
||||||
|
|
||||||
|
_Result_:
|
||||||
|
|
||||||
|
Text can be <del class="critic">deleted</del> and replacement text
|
||||||
|
<ins class="critic">added</ins>. This can also be combined into
|
||||||
|
<del class="critic">one</del><ins class="critic">a single</ins> operation.
|
||||||
|
<mark class="critic">Highlighting</mark> is also possible
|
||||||
|
<span class="critic comment">and comments can be added inline</span>.
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<mark class="critic block">
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
</mark>
|
||||||
|
</div>
|
||||||
|
|
||||||
### Highlighting text
|
### Highlighting text
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ theme:
|
|||||||
# - header.autohide
|
# - header.autohide
|
||||||
# - navigation.expand
|
# - navigation.expand
|
||||||
# - navigation.indexes
|
# - navigation.indexes
|
||||||
- navigation.instant
|
# - navigation.instant
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
- navigation.tabs
|
- navigation.tabs
|
||||||
# - navigation.tabs.sticky
|
# - navigation.tabs.sticky
|
||||||
@@ -142,7 +142,6 @@ markdown_extensions:
|
|||||||
- pymdownx.betterem:
|
- pymdownx.betterem:
|
||||||
smart_enable: all
|
smart_enable: all
|
||||||
- pymdownx.caret
|
- pymdownx.caret
|
||||||
- pymdownx.critic
|
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- pymdownx.emoji:
|
- pymdownx.emoji:
|
||||||
emoji_index: !!python/name:materialx.emoji.twemoji
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
||||||
|
|||||||
Reference in New Issue
Block a user