File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
27182718Do 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
272527341. Generate generic Markdown file
You can’t perform that action at this time.
0 commit comments