On Thu, Mar 22, 2012 at 4:15 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> different wiki pages differently). i hope to get a version done this
> weekend which uses the Google Code wiki syntax (my personal favourite).
> AsciiDoc sounds intriguing, though, and i will also be looking for a JS ...
>

Here it is:

http://fossil.wanderinghorse.net/repos/fwiki/editor/wiki-editor-goco.html

That uses fossil to manage the wiki pages but a Google Code syntax parser
client-side to do the rendering.

To see it in action:

- Click the README link in the left.
- Somewhere down that page is a "download" link - click that.
- At the bottom of that page is a link back to the README - click on that.
- You can use the editor tab to peruse the page sources.

Adding a preview plugin for Markdown and friends would be fairly trivial.
All of the markup-specific logic is encapsulated in the previewer plugin
and the main app configures the wiki page list plugin to filter out names
not matching *.goco (because i have several fossil-format pages in that
same repo).

Happy Hacking!

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
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