Skip to content

Commit 51d4920

Browse files
committed
Fixed #2913: Disabled Critic extension to omit zero-width whitespace characters
1 parent 2dc67c9 commit 51d4920

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

docs/reference/formatting.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,6 @@ document:
121121
_Example_:
122122

123123
``` markdown
124-
Text can be {​--deleted--} and replacement text {​++added++}. This can also be
125-
combined into {​~~one~>a single~~} operation. {​==Highlighting==} is also
126-
possible {​>>and comments can be added inline<<}.
127-
128-
{​==
129-
130-
Formatting can also be applied to blocks, by putting the opening and closing
131-
tags on separate lines and adding new lines between the tags and the content.
132-
133-
==}
134-
```
135-
136-
_Result_:
137-
138124
Text can be {--deleted--} and replacement text {++added++}. This can also be
139125
combined into {~~one~>a single~~} operation. {==Highlighting==} is also
140126
possible {>>and comments can be added inline<<}.
@@ -145,6 +131,25 @@ Formatting can also be applied to blocks, by putting the opening and closing
145131
tags on separate lines and adding new lines between the tags and the content.
146132
147133
==}
134+
```
135+
136+
_Result_:
137+
138+
Text can be <del class="critic">deleted</del> and replacement text
139+
<ins class="critic">added</ins>. This can also be combined into
140+
<del class="critic">one</del><ins class="critic">a single</ins> operation.
141+
<mark class="critic">Highlighting</mark> is also possible
142+
<span class="critic comment">and comments can be added inline</span>.
143+
144+
<div>
145+
<mark class="critic block">
146+
<p>
147+
Formatting can also be applied to blocks, by putting the opening and
148+
closing tags on separate lines and adding new lines between the tags and
149+
the content.
150+
</p>
151+
</mark>
152+
</div>
148153

149154
### Highlighting text
150155

mkdocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ theme:
5555
# - header.autohide
5656
# - navigation.expand
5757
# - navigation.indexes
58-
- navigation.instant
58+
# - navigation.instant
5959
- navigation.sections
6060
- navigation.tabs
6161
# - navigation.tabs.sticky
@@ -142,7 +142,6 @@ markdown_extensions:
142142
- pymdownx.betterem:
143143
smart_enable: all
144144
- pymdownx.caret
145-
- pymdownx.critic
146145
- pymdownx.details
147146
- pymdownx.emoji:
148147
emoji_index: !!python/name:materialx.emoji.twemoji

0 commit comments

Comments
 (0)