summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2009-07-16 19:24:06 +0200
committerJonas Smedegaard <dr@jones.dk>2009-07-16 19:24:06 +0200
commitbbea659ae5d7d998ae23d412e087bfb6db23e7b3 (patch)
treedaff206c0622914050192f78eeb7beceaff5376e
parentf729af6ce6f69874b06c18f671c5c9d56346ff7c (diff)
Add intro to using Markdown.
-rw-r--r--markdown.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/markdown.html b/markdown.html
new file mode 100644
index 0000000..ac71a21
--- /dev/null
+++ b/markdown.html
@@ -0,0 +1,47 @@
+% Basic Markdown routines
+% Jonas Smedegaard <dr@jones.dk>
+% Thursday July 16 2009
+
+# Create local Git
+
+Enter some directory and declare is a Git workingspace:
+
+ mkdir demo
+ cd demo
+ git init
+
+(an existing directory filled with content can be used too)
+
+# Create initial content
+
+
+
+ (edit something)
+ (save edited text as "index.mdwn")
+
+# Add initial content to Git
+
+ git add index.mdwn
+ git commit -m "Add first Markdown file."
+
+# additional editing
+
+ (edit and save "index.mdwn")
+ git add index.mdwn
+ git commit -m "Made a few changes..."
+
+or combined (works only when updating files, not initially adding them):
+
+ git commit -m "Made a few changes..." index.mdwn
+
+# Create HTML output
+
+ pandoc -s index.mdwn > index.html
+
+# Create PDF output
+
+ markdown2pdf index.mdwn
+
+# Create S5 presentation output
+
+ pandoc -t s5 -s index.mdwn > index.html