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

github.com/spech66/bootstrap-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/post/markdown-syntax.md')
-rw-r--r--exampleSite/content/post/markdown-syntax.md37
1 files changed, 19 insertions, 18 deletions
diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md
index d60c404..06990d7 100644
--- a/exampleSite/content/post/markdown-syntax.md
+++ b/exampleSite/content/post/markdown-syntax.md
@@ -7,7 +7,6 @@ tags = [
"markdown",
"css",
"html",
- "themes",
]
categories = [
"themes",
@@ -48,10 +47,9 @@ The blockquote element represents content that is quoted from another source, op
#### Blockquote with attribution
-> Don't communicate by sharing memory, share memory by communicating.</p>
+> Don't communicate by sharing memory, share memory by communicating.<br>
> — <cite>Rob Pike[^1]</cite>
-
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
## Tables
@@ -65,20 +63,19 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Inline Markdown within tables
-| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
-| ---------- | --------- | ----------------- | ---------- |
-| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+| Italics | Bold | Code |
+| -------- | -------- | ------ |
+| *italics* | **bold** | `code` |
## Code Blocks
#### Code block with backticks
-```
-html
-<!DOCTYPE html>
+```html
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -86,12 +83,13 @@ html
</body>
</html>
```
+
#### Code block indented with four spaces
- <!DOCTYPE html>
+ <!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -101,10 +99,10 @@ html
#### Code block with Hugo's internal highlight shortcode
{{< highlight html >}}
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -129,9 +127,13 @@ html
#### Nested list
-* Item
-1. First Sub-item
-2. Second Sub-item
+* Fruit
+ * Apple
+ * Orange
+ * Banana
+* Dairy
+ * Milk
+ * Cheese
## Other Elements — abbr, sub, sup, kbd, mark
@@ -144,4 +146,3 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
-