Fasthub: Feature Request: Asciidoc Rendering

Created on 17 May 2017  路  8Comments  路  Source: k0shk0sh/FastHub

  • FastHub Version: 2.1.0
  • Android Version: Nougat
  • Phone Model: Galaxy S6 Active

Github Web renders AsciiDoctor source files (.adoc), is there any way to add this to this app?

Low Completed Feature Request

Most helpful comment

if GitHub is able to render it, then it would be just easy as adding the adoc to my list of markdown extensions. I guess this issue can be closed in my next commit.

All 8 comments

AsciidoctorJ looks like it handles the rendering on the JVM.

@EvanOman good finding for the library, are there any other file extension besides that for ascii?

_Sent from my Htc m8 using FastHub_

I do not think so, obviously any extension would work but .adoc seems to be the convention. Some people use .txt but there isn't much we would be able to do for them.

Looking at MarkdownInterceptorInterface.java and prettify.js maybe a JS rendering library would be better? If that is the case then there is asciidoctor.js.

@EvanOman the class you referenced is meant to intercept touches coming from the webview that renders the HTML from a markdown extension. & The prettify has nothing to do with it meant for the rest of files, txt, .java, .php etc. I'll try and look around the possibilities about this and see what I can do about it.
Thanks for the continuous advices

@EvanOman could you point me to any file in github that is written in that format?

if GitHub is able to render it, then it would be just easy as adding the adoc to my list of markdown extensions. I guess this issue can be closed in my next commit.

_Sent from my Htc m8 using FastHub_

Was this page helpful?
0 / 5 - 0 ratings