mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-07 10:15:06 -04:00
Updated v2: Templates (markdown)
parent
9a8806492e
commit
4989dfc661
@ -134,10 +134,6 @@ The resulting front matter will be made available like so:
|
|||||||
- `.Body` to access the body after the front matter, for example: `{{markdown $parsed.Body}}`
|
- `.Body` to access the body after the front matter, for example: `{{markdown $parsed.Body}}`
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
{{markdown "My _markdown_ text"}}
|
|
||||||
```
|
|
||||||
|
|
||||||
### `stripHTML`
|
### `stripHTML`
|
||||||
|
|
||||||
Removes HTML from a string.
|
Removes HTML from a string.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user