Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Will Gatsby support org-mode? #3361

Closed
jack2gs opened this issue Dec 29, 2017 · 9 comments
Closed

[Discussion] Will Gatsby support org-mode? #3361

jack2gs opened this issue Dec 29, 2017 · 9 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@jack2gs
Copy link

jack2gs commented Dec 29, 2017

Hi guys,

Could anyone tell me if Gatsby will support org-mode? Or if any advice?

Thanks,
Jack

@calcsam
Copy link
Contributor

calcsam commented Dec 29, 2017

Could you outline what's needed to support Org mode? Lots of emacs users using Gatsby so definitely open to the idea as well as to PRs if it's fairly straightforward

@jack2gs
Copy link
Author

jack2gs commented Dec 29, 2017

Hi @calcsam,

Actually, I want to know if we could support to convert org-mode files to html's, as MD is supported by default. I usually use org-mode to write articles. Do we have such kind of plugin hexo-renderer-org?

Thanks,
Jack

@fk fk added type: question or discussion Issue discussing or asking a question about Gatsby DX labels Dec 29, 2017
@calcsam
Copy link
Contributor

calcsam commented Dec 30, 2017

Ah, got it. To clarify, Gatsby current has this functionality in an official plugin called Gatsby-transformer-remark. In order to replicate this for org-mode files, you'd want to create another plugin called gatsby-transformer-org-mode. Right now such a plugin does not exist.

Creating one would be fairly straightforward -- you'd want to use the structure of gatsby-transformer-remark but use a tool that ported org-mode into HTML (or into markdown and then use the markdown transform code). Unclear on a quick search if a specific tool exists (in Node.js) but there's a Node port of pandoc which should work.

@jack2gs
Copy link
Author

jack2gs commented Dec 31, 2017

yes, I tried to find a tool for converting org-mode to html, but failed. Maybe we can convert it to MD, then use gatsby-transformer-remark.

@calcsam
Copy link
Contributor

calcsam commented Dec 31, 2017

Yes pandoc should do that

@jack2gs
Copy link
Author

jack2gs commented Jan 1, 2018

Cool

@KyleAMathews
Copy link
Contributor

A pandoc Gatsby transformer would be 🔥🔥🔥

@fuxialexander
Copy link

fuxialexander commented Feb 10, 2018

#3907 It's merged

@m-allanson m-allanson removed the DX label Apr 13, 2018
@KyleAMathews
Copy link
Contributor

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

6 participants