On Wed, Apr 23, 2014 at 06:53:04PM +0200, Stephan Beal wrote:
> On Wed, Apr 23, 2014 at 6:50 PM, Chad Perrin <c...@apotheon.net> wrote:
> 
>     Okay, yeah, that'll be handy -- but not suitable for my need/desire to
>     make the wiki editable from the console (obviously), as I definitely
>     need to make wiki pages available for editing from the web interface as
>     well.  Does the embedded docs feature do markdown formatting?
> 
> 
> i _think_ embedded docs support all the same formatting as wikis. It seems...
> 
>   if( fossil_strcmp(zMime, "text/x-fossil-wiki")==0 ){
> ...
>   }else if( fossil_strcmp(zMime, "text/x-markdown")==0 ){
> 
> yes, it does.

Of course, I always use markdown and raw html on my embedded docs. Just
need to use proper file extension: ".md" for markdown or ".wiki" for
fossil wiki etc...

And when you edit with your local editor, you can visualize your change
before commit using "fossil ui" and pointing your browser to
http://localhost:8080/doc/ckout/../path/to/file.md

Just need to press F5 after you save so see the change right away.. 

It's not quite like editing it on web browser directly, but it's even
better for me because I prefer to edit text with a real editor.

[snip]


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