aboutsummaryrefslogtreecommitdiff
path: root/examples/example.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.md')
-rw-r--r--examples/example.md67
1 files changed, 67 insertions, 0 deletions
diff --git a/examples/example.md b/examples/example.md
new file mode 100644
index 0000000..e6bba24
--- /dev/null
+++ b/examples/example.md
@@ -0,0 +1,67 @@
+# Markdown syntax guide
+
+## Headers
+
+# This is a Heading h1
+## This is a Heading h2
+###### This is a Heading h6
+
+## Emphasis
+
+*This text will be italic*
+_This will also be italic_
+
+**This text will be bold**
+__This will also be bold__
+
+_You **can** combine them_
+
+## Lists
+
+### Unordered
+
+* Item 1
+* Item 2
+* Item 2a
+* Item 2b
+
+### Ordered
+
+1. Item 1
+2. Item 2
+3. Item 3
+ 1. Item 3a
+ 2. Item 3b
+
+## Images
+
+![This is an alt text.](/image/sample.webp "This is a sample image.")
+
+## Links
+
+You may be using [Markdown Live Preview](https://markdownlivepreview.com/).
+
+## Blockquotes
+
+> Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004 by John Gruber with Aaron Swartz.
+>
+>> Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
+
+## Tables
+
+| Left columns | Right columns |
+| ------------- |:-------------:|
+| left foo | right foo |
+| left bar | right bar |
+| left baz | right baz |
+
+## Blocks of code
+
+```
+let message = 'Hello world';
+alert(message);
+```
+
+## Inline code
+
+This web site is using `markedjs/marked`.