Value, whereas the default behavior is to keep the first value. In this case it is configured to keep the last In the code sample above, Parser.REFERENCES_KEEP defines the behavior of references whenĭuplicate references are defined in the source. Static final HtmlRenderer RENDERER = HtmlRenderer. for full GFM table compatibility add the following table extension options: To configure the parser or renderer, pass a data holder to the builder() method with theĭesired options configured, including extensions. Since the data key provides a unique identifier for the data there The values are accessed via the DataHolder and MutableDataHolder interfaces, with the formerīeing a read only container. ItĬonsists of DataKey instances defined by various components. build() Ī generic options API allows easy configuration of the parser, renderer and extensions. Static final DataHolder OPTIONS = new MutableDataSet() First, add all modules as a dependency (see Maven Central for individual Let's look at how to enable tables from GitHub Flavored Markdown or MultiMarkdown, which ever BecauseĮxtensions are optional, they live in separate artifacts, requiring additional dependencies to Use an extension, the builder objects can be configured with a list of extensions. Extensions need to extend the parser, HTML renderer, formatter, or any combination of these.
0 Comments
Leave a Reply. |