snosov1 / toc-org

toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
GNU General Public License v3.0
292 stars 29 forks source link

The table of contents section is numbered. #53

Closed mgoldenbe closed 6 years ago

mgoldenbe commented 6 years ago

I use #+OPTIONS: num:t to have my sections numbered in GitHub. How do I prevent the Table of contents section (i.e. the one tagged :TOC:) from being numbered? In particular, I tried to use #+PROPERTY: UNNUMBERED:t, but this line gets removed when I save the file.

snosov1 commented 6 years ago

Hey, @mgoldenbe !

You're right - the UNNUMBERED property is the "org" way to do this. However, as far as I can tell, GitHub implementation doesn't support this property - at least I couldn't find any signs of it in the source. This, pretty much, means that I can't do anything about it on my end and you have to look for the implementation on the org-ruby side first.