On Fri, Aug 3, 2012 at 3:37 PM, Konstantin Khomoutov < [email protected]> wrote:
> Supposedly, Fossil's wiki page editor could provide the same pick list > the first time a page is created and then persist the chosen markup > syntax with the page entry itself in an appropriate table. > Is that possible? > (Restricting myself to client-side for the moment...) In fact... the direct forefather of fossil's JSON wiki API demonstrates doing exactly this: http://whiki.wanderinghorse.net/?page=whiki These pages show 3 page-specified renderers in action (it uses a name-extension mapper): http://whiki.wanderinghorse.net/?page=fossil2whiki.sh http://whiki.wanderinghorse.net/?page=MarkDownTest http://whiki.wanderinghorse.net/?page=README.txt JSON API derives directly from whiki (which was originally written to replace fossil's wiki for some of my projects, so that code ended up coming full-circle), and i see no reason this cannot be done with fossil's json wiki API as well. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

