summaryrefslogtreecommitdiff
path: root/markdown.html
diff options
context:
space:
mode:
Diffstat (limited to 'markdown.html')
-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