summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRyan Mavilia <ryanmavilia@gmail.com>2016-01-13 23:50:24 -0500
committerRyan Mavilia <ryanmavilia@gmail.com>2016-01-13 23:50:24 -0500
commit08b430d2158bc93043385ba77fccb6af4fe77d50 (patch)
tree7baa16415b0f25fd6dcb99e4bc5816cfc562bfa7
parentea5eed5fcdbd875f7f9a7eed70ac5a46d61b18d7 (diff)
Created the first asciidoc tutorial
-rw-r--r--asciidoc.markdown66
1 files changed, 66 insertions, 0 deletions
diff --git a/asciidoc.markdown b/asciidoc.markdown
new file mode 100644
index 00000000..d6cfeca0
--- /dev/null
+++ b/asciidoc.markdown
@@ -0,0 +1,66 @@
+---
+language: asciidoc
+contributors:
+ - ["Ryan Mavilia", "http://unoriginality.rocks/:]
+filename: asciidoc.md
+---
+
+AsciiDoc is a markup language similar to Markdown and it can be used for anything from books to blogs. Created in 2002 by Stuart Rackham the language is simple but it allows for a great amount of customization.
+
+Document Header
+
+Headers are optional and can't contain blank lines. It must be offset from content by at least one blank line.
+
+Title Only
+
+```asciidoc
+= Document Title
+
+First sentence of document.
+```
+
+Title and Author
+
+```asciidoc
+= Document Title
+First Last <first.last@learnxinyminutes.com>
+
+Start of this document.
+```
+
+Multiple Authors
+```asciidoc
+= Document Title
+John Doe <john@go.com>; Jane Doe<jane@yo.com>; Black Beard <beardy@pirate.com>
+
+Start of a doc with multiple authors.
+```
+
+Revision Line (requires an author line)
+```asciidoc
+= Doc Title V1
+Potato Man <chip@crunchy.com>
+v1.0, 2016-01-13
+
+This article about chips is going to be fun.
+```
+
+Section Titles
+
+```asciidoc
+= Level 0 (may only be used in document's header)
+
+== Level 1 <h2>
+
+=== Level 2 <h3>
+
+==== Level 3 <h4>
+
+===== Level 4 <h5>
+
+====== Level 5 <h6>
+
+======= Level 6 <h7>
+
+```
+