Hi,
On 5 Jun 2017, at 09:32, deshengchuan
<chuandesheng54(a)gmail.com> wrote:
Hi, a short update (Full update will be written on my design page) on the
RedPen side of things.
As of now I have created a class that is able to take in plain input texts
and validate them, generating a JSON output file.
I will now be working on getting it to take in input texts in basic wiki
syntax ( the ones currently supported by RedPen @
http://redpen.cc/docs/1.9/index.html#wiki-format
<http://redpen.cc/docs/1.9/index.html#wiki-format> )
Cool. I don’t think we need to use redpen’s wiki syntax though.
Would be good to investigate how to introduce a new syntax for RedPen so that it can
validate XWiki Syntax. Another option is to use XWiki Rendering (using the Converter
component for example) to convert XWiki Syntax into a syntax supported by RedPen such as
plain text or other. That’s probably the easiest.
More importantly, I am currently developing the
feature to allow the
validation settings to be altered.
Ok.
Hopefully I'll be done with this by the end of
this week so that I can start
integrating the functionality into XWiki.
Thanks for the update
-Vincent