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

+2 -2
View File
@@ -18,12 +18,12 @@ toc: true
Use the `Store` method to create a [scratch pad](g) to store and manipulate data, scoped to the current shortcode. To create a scratch pad with a different [scope](g), refer to the [scope](#scope) section below.
{{% note %}}
{{< note >}}
With the introduction of the [`newScratch`] function, and the ability to [assign values to template variables] after initialization, the `Store` method within a shortcode is mostly obsolete.
[assign values to template variables]: https://go.dev/doc/go1.11#text/template
[`newScratch`]: /functions/collections/newScratch/
{{% /note %}}
{{< /note >}}
{{% include "_common/store-methods.md" %}}