[fpc-pascal] FPDoc now with Markdown support

Michael Van Canneyt michael at freepascal.org
Mon Jan 4 11:38:09 CET 2021



On Mon, 4 Jan 2021, Bo Berglund via fpc-pascal wrote:

> On Sat, 2 Jan 2021 15:31:11 +0100 (CET), Michael Van Canneyt via
> fpc-pascal
> <fpc-pascal at lists.freepascal.org> wrote:
>
>>
>> Hello !
>>
>> I didn't make it quite in time for the new year, but still:
>>
>> The fpdoc engine (what is used to document the FPC & Lazarus units) 
>> is now capable of outputting the documentation in markdown.
>>
>
> Question about viewing MD documents (excuse the little deviation from
> the main thread topic regarding fpdoc):
>
> Is there an MD renderer created with free pascal that can be plugged
> into Apache webserver so that the MD files are rendered correctly in
> any browser?

You can use for example this one to translate markdown to HTML:

https://github.com/luridarmawan/fpc-markdown

The demo shows how to use it. You can convert & view the markdown pages
directly or coonvert to html and put the static files somewhere.

Michael.


More information about the fpc-pascal mailing list