Skip to content

Commit a61cd4c

Browse files
committed
Update documentation for building Markdown
1 parent 1ae1a87 commit a61cd4c

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

README.org

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#+STARTUP: fold indent
22
#+OPTIONS: tex:t toc:2 H:6 ^:{}
3-
#+ODT_STYLES_FILE: "/Users/gilgamesh/Google Drive/Templates/styles.xml"
3+
#+ODT_STYLES_FILE: "/directory/path/styles.xml"
44

55
#+TITLE: Programming in Python
66
#+AUTHOR: Derek Devnich
@@ -2717,9 +2717,18 @@ with conn:
27172717
** Export to Github-flavored Markdown using Pandoc
27182718
Do this if you want code syntax highlighting and a table of contents on Github.
27192719

2720-
#+BEGIN_SRC bash
2721-
pandoc -f org -t gfm --toc --toc-depth=2 --wrap=none -N -s README.org -o README.md
2722-
#+END_SRC
2720+
1. Generate Markdown file
2721+
#+BEGIN_SRC bash
2722+
pandoc -f org -t gfm --toc --toc-depth=2 --wrap=none -N -s README.org -o README.md
2723+
#+END_SRC
2724+
2725+
2. Delete anything above the Table of Contents, e.g.:
2726+
#+BEGIN_EXAMPLE
2727+
-------------------------
2728+
Programming in Python
2729+
Derek Devnich
2730+
-------------------------
2731+
#+END_EXAMPLE
27232732

27242733
** INFO (Deprecated) Export to Markdown using Pandoc
27252734
1. Generate generic Markdown file

0 commit comments

Comments
 (0)