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

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2020-11-22 10:56:09 +0300
committerthingsym <thingsym@gmail.com>2020-11-22 10:56:09 +0300
commit81905e9a1d81d21169ef1b36b1b6eae865b70819 (patch)
treecbcba31f0bcbf27c6526d6114ff664902f96c330
parent9ef8e90fb5f1f760fba5939f6d9811f6688ce698 (diff)
docs: add sample Markdown Syntax
-rw-r--r--exampleSite/content/sample/markdown-syntax.md147
1 files changed, 147 insertions, 0 deletions
diff --git a/exampleSite/content/sample/markdown-syntax.md b/exampleSite/content/sample/markdown-syntax.md
new file mode 100644
index 0000000..8d1628f
--- /dev/null
+++ b/exampleSite/content/sample/markdown-syntax.md
@@ -0,0 +1,147 @@
+---
+title: "Markdown Syntax"
+date: 2020-11-17T15:26:15Z
+draft: false
+weight: 10
+description: "calling custom Shortcodes into your content files."
+---
+
+## Headings
+
+```markdown
+# Heading level 1
+## Heading level 2
+### Heading level 3
+#### Heading level 4
+##### Heading level 5
+###### Heading level 6
+```
+
+## Emphasis
+
+```markdown
+*Italic*
+**Bold**
+~~Strikethrough~~
+```
+
+## Horizontal Rule
+
+```markdown
+---
+```
+
+## Lists
+
+### Unordered Lists
+
+```markdown
+- First item
+- Second item
+- Third item
+- Fourth item
+```
+
+or
+
+```markdown
+* First item
+* Second item
+* Third item
+* Fourth item
+```
+
+### Ordered Lists
+
+```markdown
+1. First item
+2. Second item
+3. Third item
+4. Fourth item
+```
+
+## Code
+
+````markdown
+```ruby
+puts 'The best way to log and share programmers knowledge.'
+puts 'The best way to log and share programmers knowledge.'
+```
+````
+
+## Inline code
+
+```markdown
+`#ffce44`
+```
+
+## Blockquote
+
+```markdown
+> this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote.
+>
+> this is a blockquote.
+>
+> this is a blockquote.
+>
+> this is a blockquote
+```
+
+## Links
+
+```markdown
+[Hugo Techdoc Theme demo](https://themes.gohugo.io/theme/hugo-theme-techdoc/)
+```
+
+## Table
+
+```markdown
+| header | header | header |
+|------------|-------------|--------------|
+| Lorem | Lorem | Lorem |
+| ipsum | ipsum | ipsum |
+| dolor | dolor | dolor |
+| sit | sit | sit |
+| amet | amet | amet |
+```
+
+## Images
+
+```markdown
+![2 People Sitting With View of Yellow Flowers during Daytime](/images/pexels-photo-196666.jpeg "sample")
+```
+
+
+## Image with link
+
+```markdown
+[![2 People Sitting With View of Yellow Flowers during Daytime](/images/pexels-photo-196666.jpeg)](https://www.pexels.com/photo/2-people-sitting-with-view-of-yellow-flowers-during-daytime-196666/)
+```
+
+## Definition Lists
+
+```markdown
+First Term
+: This is the definition.
+
+Second Term
+: This is the definition.
+: This is the definition.
+```
+
+## Task Lists
+
+```markdown
+- [x] to do task 1
+- [ ] to do task 2
+- [ ] to do task 3
+```
+
+## Footnotes
+
+```markdown
+this is a footnote,[^1] and this is the second footnote.[^2]
+
+[^1]: This is the first footnote.
+[^2]: This is the second footnote.
+```