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
287 stars 29 forks source link

Doesn't strip TODO keywords. #65

Closed tktujy closed 5 years ago

tktujy commented 5 years ago

I set up single-letter keys for TODO keywords. These look like

#+TODO: TODO(t) | DONE(d!)

Then I found these keywords are not stripped.

snosov1 commented 5 years ago

I don't believe I recognize this syntax. Is it, actually, a valid org line (and does GitHub recognize it?)? I'd believe, the syntax should be #+TODO: t | d (in which case it works)

tktujy commented 5 years ago

I got this syntax from Org Mode Manual, and Github can recognize it.

snosov1 commented 5 years ago

I also looked through the docs, but somehow it got me confused. Sorry.

Anyway, should be handled correctly, now.