Shortcodes
3. Modifier shortcodes
There are a few shortcodes which can be used to modify some expected variety of enclosed content.
The gn:list
shortcode is used to alter an enclosed list. Presently the type
parameter can be used to render a list as a checklist.
[gn:list type="checklist"]
* spectacles
* wallet
* watch
[/gn:list]
- spectacles
- wallet
- watch
gn:table
The gn:table
shortcode can be used to alter an enclosed table.
[gn:table align="left" density="dense"
caption="Average daily maximum and minimum temperatures in the NWT"]
| City | July High | July Low | January High | January Low |
|--------------:|:---------:|:--------:|:------------:|:-----------:|
| Fort Simpson | 24°C | 11°C | -20°C | -29°C |
| Yellowknife | 21°C | 13°C | -22°C | -30°C |
| Inuvik | 20°C | 9°C | -23°C | -31°C |
| Sachs Harbour | 10°C | 3°C | -24°C | -32°C |
[/gn:table]
City | July High | July Low | January High | January Low |
---|---|---|---|---|
Fort Simpson | 24°C | 11°C | -20°C | -29°C |
Yellowknife | 21°C | 13°C | -22°C | -30°C |
Inuvik | 20°C | 9°C | -23°C | -31°C |
Sachs Harbour | 10°C | 3°C | -24°C | -32°C |