File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- ---
2- author : Derek Devnich
3- title : Programming in Python
4- ---
5-
61- [ 1. Fundamentals (Week 1)] ( #fundamentals-week-1 )
72 - [ 1.1. Orientation] ( #orientation )
83 - [ 1.2. Jupyter commands] ( #jupyter-commands )
Original file line number Diff line number Diff line change @@ -3387,6 +3387,9 @@ Do this if you want code syntax highlighting and a table of contents on Github.
338733871. Generate Markdown file
33883388 #+BEGIN_SRC bash
33893389 pandoc -f org -t gfm --toc --toc-depth=2 --wrap=none -N -s README.org -o README.md
3390+
3391+ # Add section headers
3392+ pandoc -f org -t gfm --toc --toc-depth=2 --wrap=none -s --lua-filter ./pandoc-section-number-filter.lua README.org -o README.md
33903393 #+END_SRC
33913394
339233952. Delete anything above the Table of Contents, e.g.:
You can’t perform that action at this time.
0 commit comments