rasendubi / uniorg

An accurate Org-mode parser for JavaScript/TypeScript
https://oleksii.shmalko.com/uniorg
GNU General Public License v3.0
264 stars 25 forks source link

Table of contents #62

Closed AgrYpn1a closed 1 year ago

AgrYpn1a commented 1 year ago

As from my experience, usually, any org to html export would make a TOC out of headlines and embed it at the start of the page. I was not able to get toc to render, is this feature not supported or am I missing something?

rasendubi commented 1 year ago

There is rehype-toc plugin that does the job, so I consider this out of scope for uniorg (unless somebody wants an org-to-org table of contents).

AgrYpn1a commented 1 year ago

Alright, let me look into that and see how it works.

AgrYpn1a commented 1 year ago

rehype-toc worked well for me, thanks