mirror of
https://github.com/imfing/hextra.git
synced 2025-08-24 02:06:58 -04:00
docs: add documentation on all shortcodes (#753)
This commit is contained in:

committed by
GitHub

parent
80ada64da0
commit
2033d50005
@@ -1,5 +1,12 @@
|
||||
{{- $style := .Get "style" -}}
|
||||
{{- /*
|
||||
A shortcode for displaying a hero subtitle.
|
||||
|
||||
@param {string} style The style of the subtitle.
|
||||
|
||||
@example {{< hextra/hero-subtitle >}}{{< /hextra/hero-subtitle >}}
|
||||
*/ -}}
|
||||
|
||||
{{- $style := .Get "style" -}}
|
||||
|
||||
<p
|
||||
class="not-prose hx:text-xl hx:text-gray-600 hx:dark:text-gray-400 hx:sm:text-xl"
|
||||
|
Reference in New Issue
Block a user