cupper-hugo-theme/content/test.md
2017-06-09 21:27:09 +08:00

1.0 KiB

+++ title = "Test content node" wcag = ["1-1-1"] +++

Here is the content of "test content node", including a code example and a Space key mention. Below is the use of a special shortcode for providing a note:

{{% note %}} I just wanted to say… yeah, why not!

Here is the content of "test content node", including a code example and a Space key mention. Below is the use of a special shortcode for providing a note: {{% /note %}}

The following is similar, but a warning:

{{% warning %}} I just wanted to say… NO NO NO! {{% /warning %}}

Code block

Markdown version

var button = document.getElementById('button')

button.addEventListener('click', function() {
  alert('well hey')
})

Shortcode version

{{}} var button = document.getElementById('button')

button.addEventListener('click', function() { alert('well hey') }) {{}}

Expandable sections

{{% expandable level="2" open="true" %}} Here it is then! {{% /expandable %}}