summaryrefslogtreecommitdiff
path: root/example/index.md
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-06-12 03:57:18 +0100
committerdavidovski <david@davidovski.xyz>2023-06-12 03:57:18 +0100
commit52e9c3aeea18d5750fea8704711a113adae93903 (patch)
treef8a9d31de26ed8d0b2ffe6515f2302c0d1374ea1 /example/index.md
parentaf75a700c52aaca66ffe6db42c4448c2070be21a (diff)
create example site where every page is executed to generate itself
Diffstat (limited to 'example/index.md')
-rwxr-xr-xexample/index.md63
1 files changed, 63 insertions, 0 deletions
diff --git a/example/index.md b/example/index.md
new file mode 100755
index 0000000..1be4e1f
--- /dev/null
+++ b/example/index.md
@@ -0,0 +1,63 @@
+#!/usr/bin/env md2html
+
+# This is a test md file hello
+
+This is *italics* this is **bold** this is ***both*** wow (this is in brackets ssh) and [this is in square brackets not a anchor lol]
+
+click [here](http) for stuff and [over here](http12 "my title") for more
+
+and [click here](http://this_has_stuffinside) too
+
+![this is an image](httpsomething)
+
+this is a paragraph
+with many lines
+that are joined together
+
+> this is a quote hi
+
+ok that was a quote
+
+> this quote has a list inside it
+> - this is a list in a quote
+> - it was quoted
+>
+> and also there is another quote;
+>> Hi i am a quote
+
+
+haha
+
+- this is a list
+ - of items
+ - please dont
+- break
+
+ok
+
+ int main() {
+ printf("hello %s\n", "world");
+ }
+
+ int func(int* a) {
+ return a;
+ }
+
+- list
+ - sublist
+ - subsublist
+ - subsubsublist
+
+
+* star list
+* this is a star
+
++ plus now wow
++ plus wow so cool
+
+1. hello
+2. world
+3. lOL
+
+
+> ok that worked?