Skip to content

Commit a729206

Browse files
authored
docs: markdown @@ tag (#2190)
1 parent 5d07b3e commit a729206

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/3-packages/04-markdown.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,20 @@ Prepend `*` to a link's URI to open the link in a new tab:
195195
<a href="https://stitcher.io" target="_blank" rel="noopener noreferrer">Click me</a>
196196
```
197197

198+
### Raw snippets
199+
200+
Wrap anything in `@@` to prevent it from being rendered at all:
201+
202+
```md
203+
@@
204+
## Hello
205+
@@
206+
```
207+
208+
```html
209+
## Hello
210+
```
211+
198212
## Adding custom features
199213

200214
`tempest/markdown` is meant to be extended. Adding custom parser rules is done in two steps: first you provide a `Rule`, this is a class that determines when your custom parsing logic should be triggered. Next you'll use a `Token` to render your selected Markdown code in any way you'd like.

0 commit comments

Comments
 (0)