#1 2015-05-03 03:42:02

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

AsciiDoc support?

Hi Arnaud,

I see some of the recent commits contains the word "AsciiDoc", which seems to be one of the supported formats of the REST API document generation. I don't quite understand this part, and I'm out of curiosity, will there be any thing like an "AsciiDoc parser" or something like that appear in the future?


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2015-05-03 14:11:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: AsciiDoc support?

This is just AsciiDoc output, using a Mustache template.

I added it for a customer requirement.
This is a nice example of how easy it is to write a Mustache template.

There is no AsciiDoc parser, and since my opinion is that it is a floated syntax, I probably would never implement it.
It is impossible to put links within the source code, for instance.
The wiki+rtf syntax used by our SynProject tool sounds much more efficient, and still very simple to use.

Offline

#3 2015-05-03 15:04:41

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: AsciiDoc support?

Got it, thanks for your answers ab!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB