Skip to content
New issue

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

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

Already on GitHub? # to your account

Support Emacs org markup language #2

Open
lthms opened this issue Jul 4, 2018 · 3 comments
Open

Support Emacs org markup language #2

lthms opened this issue Jul 4, 2018 · 3 comments

Comments

@lthms
Copy link

lthms commented Jul 4, 2018

I do agree that this is not a priority issue, and I don't know if you should really implement it; I mean, markdown is definitely the big player in the markup language league, while org(-mode? I never know what is the official name) is less known. I don't know if there is mature implementation of org parser in Rust. I know pandoc does support org, but it would give you an additional dependency to manage.

Anyway, I am considering using a Plume instance to publish my articles in the long run, but most of them are written using this strange markup language of Emacs called org.

Do you consider supporting additional markup languages, and more specifically org, in the future? If so, I would really be interested :) And I can even try to help.

@elegaanz
Copy link
Member

elegaanz commented Jul 5, 2018

Actually, Markdown was more a temporary solution to allow formatting your posts, but in the future I think we may switch to a custom format, with a distraction-free visual editor. But a CLI tool that you could install locally and use to login with your Plume account, and convert from org-mode to the Plume format and to post your article could be possible.

@lthms
Copy link
Author

lthms commented Jul 8, 2018

Thanks for the answer :) What you explain is that, in the future, Plume will not accept a given markup language, but rather a (presumably safe subset of?) HTML?

@elegaanz
Copy link
Member

elegaanz commented Jul 8, 2018

Actually, I think it will be sent through the REST API, and it may use some JSON AST, that will the be "rendered" to HTML by the server. So you could easily build a CLI tool to convert from org-mode format to the Plume AST and use the REST API to post your article automatically.

@elegaanz elegaanz transferred this issue from Plume-org/Plume Nov 6, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants