deadlyjack / Acode

Acode - powerful text/code editor for android
https://acode.app
MIT License
2.83k stars 388 forks source link

AsciiDoc support #310

Open aisbergde opened 2 years ago

aisbergde commented 2 years ago

My notes system is based on AsciiDoc and there is no Android editor with AsciiDoc support. But Acode already has AsciiDoc syntax highlight (when a matching theme is used). And Acode has a built in preview. But not for Asciidoc files. But it looks like it uses it's own web server and AsciiDoc preview could be integrated.

Normally, Asciidoctor.js is used for preview. https://docs.asciidoctor.org/asciidoctor.js/latest/ And there is a chrome desktop extension "AsciiDoc preview".

My current solution is an android chrome browser, which can install chrome desktop extensions (kiwi browser, yandex browser), and I installed the AsciiDoc preview extension. Then I use the NiM web server to make my asciidoc files available. But the browser, which I use for AsciiDoc preview, is not my default browser.

Currently in Acode I have 2 options for preview: in app or browser. Couldn't this be extended so I could use the kiwi browser, which has the extension installed, to be used for AsciiDoc files? And of course the preview needs to be enabled for AsciiDoc files. Of course, built-in preview would be even better.

Also Acode has a useful tool bar on the bottom. It would be fine if this could be extended for specific languages (in my case - AsciiDoc). Maybe this is already possible? I mean some shortcuts for language specific content (headers, links, pictures, specific blocks,...)

alMukaafih commented 4 days ago

Is there anyone currently working on this?