On Thu, Aug 14, 2014 at 09:56:32AM +0200, Stephan Beal wrote:
>    On Thu, Aug 14, 2014 at 9:27 AM, Gour <[1]g...@atmarama.net> wrote:
> 
>      Now the interesting part in regard to is is Asciidoctor.js � - "a
>      fully-functional version of Asciidoctor that works in any JavaScript
>      environment, such as a web browser or Node.js.", so I wonder whether
>      there is
>      some possibility to make it integrate it with Fossil in order to enjoy
>      combination of Asciidoc markup + Fossil?
> 
>    You can in fact do that with the JSON API. i've been serving Google
>    Code-format wiki pages this way for a a couple years now:
>    [2]http://fossil.wanderinghorse.net/wikis/
>    all of those use the JSON API to serve GoCo-format pages, which then get
>    rendered on the client side.

May be it would be more simple (if possible) to just modify fossil skins
related configuration (header, footer, css, ...) to use Asciidoctor.js.

If it is possible for google-code-prettify for syntax highlighting, I
guess it could be for Asciidoctor.js. It's only my 2 cents since I don't
know much about Asciidoctor.js.

  note:
     For google-code-prettify, I use my own skin based on the google-code
     skin from here: 
        http://fossil.include-once.org/fossil-skins/index 

     That I modify to don't have to link to google-code-prettify js
     script from google, I've integrated it to my repository instead
     so it can be use on a local network without internet access.. I've
     also removed dependency on jquery.


Regards,

-- 
Martin G.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to