Shortcodes
pCP Team
26 May 2022
pCP 6.1.0
Publishing
Shortcodes
Shortcodes are used to add a little more functionality to Markdown. Shortcodes are located in the layouts sub-directory.
Shortcodes available
Shortcode | Description |
---|---|
card.html | Used for warning and danger message |
childpages.html | Used to generate links to child pages |
code.html | Used to display code with a copy button |
lead.html | Used for a lead in paragraph |
table.html | Used to format tables |
Card shortcode
Draw the reader’s attention by separating information from the rest of the page. Convey meaning to this information by using colors implying success, info, warning, or danger and an appropriate icon.