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

Export the document to html #88

Closed Cletip closed 1 year ago

Cletip commented 1 year ago

Hi! Your package works perfectly for me, but I can't export to html. I found two solutions: 

I write these lines to tell you this problem, even if for me it is not really annoying ^^

snosov1 commented 1 year ago

Hey, @Cletip !

Thanks for reaching out! In fact, your second solution is the intended one (i.e. it is a feature, not a bug).

If you feel like a change to the documentation would help you to save some time and/or frustration, I suggest that you submit a PR.

Cletip commented 1 year ago

Yes this is a feature, but I can't export my table of contents created with toc-org, right ? Maybe it is not the purpose ^^

snosov1 commented 1 year ago

Yeah, for things like exporting to html you should ask the exporting backend to generate the toc (it's built in functionality). toc-org does not try to reimplement that

Cletip commented 1 year ago

Ok I understand perfectly, so my request is useless. Thanks for the clarification!