Shortcode Example
Note
Here is an example of the note
shortcode:
This one is static!
This blog assumes basic terminal maturity
This one is clickable!
Syntax:
{{ note(header="Note!", body="This blog assumes basic terminal maturity") }}
{{ note(clickable=true, hidden = true, header="Quiz!", body="The answer to the quiz!") }}
You can also use some HTML in the text:
This blog assumes basic terminal maturity
Literal shortcode:
{{ note(header="Note!", body="<h1>This blog assumes basic terminal maturity</h1>") }}
Pretty cool, right?
Finally, you can do something like this (hopefully):
Hello this is markdown inside a note shortcode
We can't call another shortcode inside a shortcode, but this is good enough.
Here is the raw markdown:
Finally, we have center
Centered Text
This is centered text
It works good enough for me!