diff options
Diffstat (limited to 'exampleSite/content/post/markdown-syntax/index.md')
-rw-r--r-- | exampleSite/content/post/markdown-syntax/index.md | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/exampleSite/content/post/markdown-syntax/index.md b/exampleSite/content/post/markdown-syntax/index.md index 752a655..0254cca 100644 --- a/exampleSite/content/post/markdown-syntax/index.md +++ b/exampleSite/content/post/markdown-syntax/index.md @@ -42,12 +42,12 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. -### Blockquote without attribution +#### Blockquote without attribution > Tiam, ad mint andaepu dandae nostion secatur sequo quae. > **Note** that you can use *Markdown syntax* within a blockquote. -### Blockquote with attribution +#### Blockquote with attribution > Don't communicate by sharing memory, share memory by communicating.<br> > — <cite>Rob Pike[^1]</cite> @@ -63,7 +63,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou Bob | 27 Alice | 23 -### Inline Markdown within tables +#### Inline Markdown within tables | Italics | Bold | Code | | -------- | -------- | ------ | @@ -74,7 +74,8 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou | Lorem ipsum dolor sit amet, consectetur adipiscing elit. | Phasellus ultricies, sapien non euismod aliquam, dui ligula tincidunt odio, at accumsan nulla sapien eget ex. | Proin eleifend dictum ipsum, non euismod ipsum pulvinar et. Vivamus sollicitudin, quam in pulvinar aliquam, metus elit pretium purus | Proin sit amet velit nec enim imperdiet vehicula. | Ut bibendum vestibulum quam, eu egestas turpis gravida nec | Sed scelerisque nec turpis vel viverra. Vivamus vitae pretium sapien | ## Code Blocks -### Code block with backticks + +#### Code block with backticks ```html <!doctype html> @@ -89,7 +90,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou </html> ``` -### Code block indented with four spaces +#### Code block indented with four spaces <!doctype html> <html lang="en"> @@ -102,7 +103,21 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou </body> </html> -### Diff code block +#### Code block with Hugo's internal highlight shortcode +{{< highlight html >}} +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Example HTML5 Document</title> +</head> +<body> + <p>Test</p> +</body> +</html> +{{< /highlight >}} + +#### Diff code block ```diff [dependencies.bevy] @@ -112,27 +127,21 @@ rev = "11f52b8c72fc3a568e8bb4a4cd1f3eb025ac2e13" + features = ["jpeg", "dynamic"] ``` -### One line code block - -```html -<p>A paragraph</p> -``` - ## List Types -### Ordered List +#### Ordered List 1. First item 2. Second item 3. Third item -### Unordered List +#### Unordered List * List item * Another item * And another item -### Nested list +#### Nested list * Fruit * Apple |