Re: [fossil-dev] [PATCH] Markdown support in json view command

2016-09-28 Thread BohwaZ
The actual patch, as plaintext: Index: src/json_wiki.c == --- src/json_wiki.c +++ src/json_wiki.c @@ -110,19 +110,27 @@ json_julian_to_timestamp(pWiki->rDate)); if(0 == contentFormat){ cson_object_set

[fossil-dev] [PATCH] Markdown support in json view command

2016-09-28 Thread BohwaZ
Hi, Here is a simple patch to add support for Markdown in the JSON API for Fossil wiki (command: fossil json wiki get PAGE --format html), as I needed to fetch Markdown formatted pages as well as Wiki formatted pages. This is against the current trunk. Regards, -- bohwaz Index: src/json_wi