Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 12, 2023
1 parent fbdee27 commit 04dbddd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions core/README.md
Expand Up @@ -280,6 +280,24 @@ Here is a simple footnote[^1]. With some additional text after it.
[^1]: My reference.
```

### Ignore content display

```markdown
# Hello World

<!--rehype:ignore:start-->Hello World<!--rehype:ignore:end-->

Good!
```

Output:

```html
<h1>Hello World</h1>

<p>Good!</p>
```

## Support dark-mode/night-mode

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.
Expand Down

0 comments on commit 04dbddd

Please sign in to comment.