all: Change shortcode usage and design to prevent invalid HTML

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-02-17 00:38:33 -08:00
1 parent c41d766137
commit 0fca8ef251
174 files changed
+671 -633

No files matched your search

+4 -4
View File
@@ -14,9 +14,9 @@ toc: true
Specify the argument by position or by name. When calling a shortcode within Markdown, use either positional or named argument, but not both.
{{% note %}}
{{< note >}}
Some shortcodes support positional arguments, some support named arguments, and others support both. Refer to the shortcode's documentation for usage details.
{{% /note %}}
{{< /note >}}
## Positional arguments
@@ -46,6 +46,6 @@ To retrieve arguments by name:
{{ printf "%s %s." (.Get "greeting") (.Get "firstName") }} → Hello world.
{{< /code >}}
{{% note %}}
{{< note >}}
Argument names are case-sensitive.
{{% /note %}}
{{< /note >}}