orgapp / orgajs

parse org-mode content into AST
https://orga.js.org
MIT License
614 stars 62 forks source link

[Question] Will support TOC? #19

Open wallevy opened 5 years ago

wallevy commented 5 years ago

In Emacs, I can export org file to HTML with Table of Contents, will it be supported in future?

xiaoxinghu commented 5 years ago

I assume you are talking about the gatsby-transformer-orga plugin. That's a good idea. It's just the way gatsby has a set of plugins for handling markdown content, I feel like we are duplicating a lot if we try to add more features like that. Still thinking about ways to share code with the markdown eco-system. But in the mean time, any PR is welcome. Or maybe I will do that later.

wallevy commented 5 years ago

@xiaoxinghu Thanks, I'm a newbie to gatsby, I find the plugin gatsby-transformer-remark that used in markdown. I will think about how to share the code, or try to make one for org. If you have any idea, let me know.

gitonthescene commented 4 years ago

I believe #49 would help here since you could use a plugin to add a TOC in post processing.