Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md')
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md54
1 files changed, 1 insertions, 53 deletions
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
index ca2679b..a876add 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
@@ -14,7 +14,7 @@ resources:
tags: ["shortcodes"]
categories: ["documentation"]
-lightgallery: true
+
---
**uBlogger** theme provides multiple shortcodes on top of built-in ones in Hugo.
@@ -1185,59 +1185,23 @@ Simple content is allowed in `Markdown` format and **without** rich block conten
Example `typeit` input:
-```markdown
-{{</* typeit */>}}
-This is a *paragraph* with **typing animation** based on [TypeIt](https://typeitjs.com/)...
-{{</* /typeit */>}}
-```
-
The rendered output looks like this:
-{{< typeit >}}
-This is a *paragraph* with **typing animation** based on [TypeIt](https://typeitjs.com/)...
-{{< /typeit >}}
-
Alternatively, you can use custom **HTML tags**.
Example `typeit` input with `h4` tag:
-```markdown
-{{</* typeit tag=h4 */>}}
-This is a *paragraph* with **typing animation** based on [TypeIt](https://typeitjs.com/)...
-{{</* /typeit */>}}
-```
-
The rendered output looks like this:
-{{< typeit tag=h4 >}}
-This is a *paragraph* with **typing animation** based on [TypeIt](https://typeitjs.com/)...
-{{< /typeit >}}
-
### 10.2 Code Content {#code-content}
Code content is allowed and will be highlighted by named parameter `code` for the type of code language.
Example `typeit` input with `code`:
-```markdown
-{{</* typeit code=java */>}}
-public class HelloWorld {
- public static void main(String []args) {
- System.out.println("Hello World");
- }
-}
-{{</* /typeit */>}}
-```
The rendered output looks like this:
-{{< typeit code=java >}}
-public class HelloWorld {
- public static void main(String []args) {
- System.out.println("Hello World");
- }
-}
-{{< /typeit >}}
### 10.3 Group Content {#group-content}
@@ -1248,25 +1212,9 @@ A set of `typeit` contents with the same value of named parameter `group` will s
Example `typeit` input with `group`:
-```markdown
-{{</* typeit group=paragraph */>}}
-**First** this paragraph begins
-{{</* /typeit */>}}
-
-{{</* typeit group=paragraph */>}}
-**Then** this paragraph begins
-{{</* /typeit */>}}
-```
The rendered output looks like this:
-{{< typeit group=paragraph >}}
-**First** this paragraph begins
-{{< /typeit >}}
-
-{{< typeit group=paragraph >}}
-**Then** this paragraph begins
-{{< /typeit >}}
## 11 script