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
Add format: AsciiDoc (Highlighter, TextActions) #808
Comments
I would be happy to donate/help however I can. This feature would be a huge plus for me. |
I would love to have asciidoc support too, and would consider donating. |
Implementation is waiting for contribution |
Contribution as in code or donation? |
Code |
I too would love this feature. As asciidoc is plain text, however, the only support it really requires at minimum is the ability to open .adoc files (which is not required--the original Python AsciiDoc actually recommended .txt--but it does help with compatibility, syntax coloring support etc.). The newer AsciiDoctor Ruby port even has Markdown-compatible syntax for things like headers, so even now an AsciiDoc with MD-compatible headers would get partial syntax coloring & preview support with no other change required. |
Can others confirm, that it makes sense to load Markdown highlighting and actions for .adoc file extension? md 😀, plaintext 🎉 |
Sorry to betray my own premise, but I voted plaintext lol. MD compatible is not the default format, and not everything is compatible anyway so things could get confusing. While full AsciiDoc support would be wonderful in the long term, I'd be just as happy to be able to edit in plaintext. |
Closing, so far nobody stepped up for this. If there is interest, start to work on it please and make a pull request. Thanks. |
Could you please reopen the issue? For me this is the most important Feature Request. There is no Android app supporting AsciiDoc, and I still hope that sometimes in the future I can switch my notes system from markdown to asciidoc, after some basic support is somehow implemented into Markor. I never developed in Java, but maybe you could give some hints where and how to start in Markor. Maybe I will understand how language support is implemented and I could add some starting implementation. But where to start? And maybe later some other developers can improve. Maybe this is not so much a question of Java but more about rules. I understand that we will not get full asciidoc support, but maybe at least some basic support. |
What would be the right way to get asciidoc support into Markor?
|
There is a PR open for txt2tags. It gives a overview of files that need to be touched / created |
Yesterday I converted my markdown based notes system into a asciidoc based notes system, using kramdoc. There is no Android support for asciidoc and Markor is still my preferred Android editor. I could also live without asciidoc preview on Android, because it is a plaintext format and easy to read. But I am curious, if it would be technical possible to use asciidoctor.js or AsciidoctorJ to render and preview. Even without adoc preview I would like to request (or make) the editor to better work with AsciiDoc files. There are currently some specific editor settings for different file types: markdown, todo, plaintext... Would it be not too complicated to add asciidoc as additional language with some small changes compared to markdown?
BTW, the main reason for switching was: I use AsciiDoc and Antora for technical documentation in different projects. And it is a bit hard to interchange content between my markdown based notes system and the technical project documentations. |
Is there any way to support the preview of asciidoc documents? Currently I do the following
This works, but is a bit cumbersome. It would be good to get to the preview directly from Markor.
However, I have no idea how and if this could be done. Maybe one could configure an action with file extensions (in the case .adoc)? |
Somebody who overall implements it and maintains the code base regulary. |
I understand that until now nobody worked on this. But maybe as a first step it would be possible to just add asciidoc as "format type" even not supporting formatting yet. At least a specific toolbox could be implemented for asciidoc. There are several block markers, sorted lists are different. I can't program in Java, but I could provide a list of useful toolbar items. It would also allow to format markdown but to not format asciidoc content. |
If you implement whatever part of it, or find somebody to do it - happy to review. But just adding a asciidoc button, which is 100% equal to plaintext usage won't get added. Then you can just use plaintext format. |
Finaly I am looking for more flexibility in the tool bar for different format types in General. |
I created a fork of the project, will learn development with Java, then implement and maintain an AsciiDoc format into Markor. I will start with required action buttons and some changes in the syntax highlighting. |
…specifik special key menu. Still many TODOs
Hello @gsantner, I would like to put in a feature request for AsciiDoc support.
It is another markup language like Markdown. Currently, there is no app on Android supporting it.
Thank you for your hard work. Love the app.
The text was updated successfully, but these errors were encountered: