View on GitHub

fj-doc-quickstart

Docs Home

QuickstartC002CustomMarkdownTypeHandler

version : 001

Maven dependancies :

QuickstartC002CustomMarkdowTypeHandler shows how is possible to create two custom doc type handlers from scratch :

A DocTypeHandler must inspect all elements in DocBase model.
During inspection the doc meta model must be used to render actual output formats.
DocBase model is a java representation of the xml doc source.
In this case the inspection is implemented using DocTypeFacadeDefault facility.

Note that MarkdownExtDocFacade simply extends and change some behaviours of MarkdownBasicDocFacade.

Here is CustomMarkdownExtTypeHandler output on a Markdown playgound :

Type Handler Output on Markdown playground