mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 22:14:58 +00:00
Markdown linting and cleanup
This commit is contained in:
1 parent
69d7a781b4
commit
2c7a3165f8
86 files changed
+121
-189
No files matched your search
@@ -56,7 +56,6 @@ Content between opening and closing shortcode tags may include leading and/or tr
|
||||
In the example above, the value returned by `Inner` is Markdown, but it was rendered as plain text. Use either of the following approaches to render Markdown to HTML.
|
||||
{{% /note %}}
|
||||
|
||||
|
||||
## Use RenderString
|
||||
|
||||
Let's modify the example above to pass the value returned by `Inner` through the [`RenderString`] method on the `Page` object:
|
||||
|
||||
@@ -46,5 +46,5 @@ Welcome. Today is {{</* now */>}}.
|
||||
The "now" shortcode formats the current time using:
|
||||
|
||||
1. The `dateFormat` argument passed to the "now" shortcode, if present
|
||||
2. The `dateFormat` argument passed to the "greeting" shortcode, if present
|
||||
3. The default layout string defined at the top of the shortcode
|
||||
1. The `dateFormat` argument passed to the "greeting" shortcode, if present
|
||||
1. The default layout string defined at the top of the shortcode
|
||||
Reference in new issue
Block a user