diff options
Diffstat (limited to 'exampleSite/content/post/markdown-syntax.md')
-rw-r--r-- | exampleSite/content/post/markdown-syntax.md | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md index 604be4e..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 | Markdown | In | Table | -| ---------- | --------- | ----------------- | ---------- | -| *italics* | **bold** | ~~strikethrough~~ | `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> @@ -148,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. - |