Skip to content

Commit 04dbddd

Browse files
authoredMay 12, 2023
doc: Update README.md
1 parent fbdee27 commit 04dbddd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

‎core/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,24 @@ Here is a simple footnote[^1]. With some additional text after it.
280280
[^1]: My reference.
281281
```
282282

283+
### Ignore content display
284+
285+
```markdown
286+
# Hello World
287+
288+
<!--rehype:ignore:start-->Hello World<!--rehype:ignore:end-->
289+
290+
Good!
291+
```
292+
293+
Output:
294+
295+
```html
296+
<h1>Hello World</h1>
297+
298+
<p>Good!</p>
299+
```
300+
283301
## Support dark-mode/night-mode
284302

285303
By default, the [`dark-mode`](https://github.com/jaywcjlove/dark-mode/) is automatically switched according to the system. If you need to switch manually, just set the `data-color-mode="dark"` parameter for body.

0 commit comments

Comments
 (0)
Please sign in to comment.