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

Added AsciiDoc backend #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

declantsien
Copy link

See Convert documents from AsciiDoc to Org . Need some extra effort to work.
Might be a good idea to include this.

@tecosaur
Copy link
Owner

At a glance this looks reasonable, you'll want to add org-pandoc-export-to-asciidoc here though:

(when (featurep 'ox-pandoc)
'(("rst" . org-pandoc-export-to-rst)
("docx" . org-pandoc-export-to-docx))))

@declantsien
Copy link
Author

I wouldn't try to edit asciidoc source files from the Internets. It's properly result in some formatting changes.
I use this primarily to read files in Org mode, since I am more comfortable with it.

But still it's a valid use case for asciidoc files which are produced using ox-pandoc though. Made the change.

Also org-pandoc-import-transient-mode is buggy. Reported it here #16

@tecosaur
Copy link
Owner

Thanks for that.

Looking at the updated PR, I'm a tad wary though about .txt being dedicated as an asciidoc extension, since its use is far more general.

@declantsien
Copy link
Author

I added it cause it's used by ox-pandoc and org-asciidoc. I wouldn't worry too much about it.

Currently there is only on backend associated with txt. Later if there are mroe backends provide txt, maybe we can add a prompt for org-pandoc-import-[as,to]-org to choose which backend to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants