Update Template Extensions
parent
d6b49659be
commit
43f028b3ca
@ -1,6 +1,15 @@
|
|||||||
# ParsedownHelper
|
# ParsedownHelper
|
||||||
The `ParsedownHelper` template extension gives us a new tag to use in our templates.
|
The `ParsedownHelper` template extension gives us a new tag to use in our templates.
|
||||||
|
|
||||||
|
``` html
|
||||||
|
<parsedown inline="true">
|
||||||
|
# Markdown
|
||||||
|
directly in the template `file` itself.
|
||||||
|
</parsedown>
|
||||||
|
```
|
||||||
|
|
||||||
|
alternatively
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<parsedown>{{ @variable | raw }}</parsedown>
|
<parsedown>{{ @variable | raw }}</parsedown>
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user