Markdown Front Matter using Yaml Subfilter

Merged
#260 · Created  · Last updated

Merged pull request

Merged in lingo24/okapi-mainline/markdown-yaml (pull request #260)

efcdbb8·Author: ·Closed by: ·2018-09-19

Description

Addresses #741

  • Added Yaml Subfilter for Front Matter

  • Updated MarkdownParser to handle complex Front Matter structures

  • Updated the MarkdownFilters UI to support the Yaml Subfilter

  • Updated MarkdownFilter.java to pass the FilterConfigurationMapper to the yaml filter so we can use a sub-filter on it.

  • Added new option to the Yaml Parameters.java: subFilterProcessLiteralAsBlock to send Yaml literals as a block, so the sub-filter can deal with it as a TU. Defaults to false, it's a non-breaking change that doesn't affect the current default behaviour.

  • Updated YamlFilter.java to use subFilterProcessLiteralAsBlock

  • Added the okf_yaml@for_markdown.fprm default filter for Front Matter to use the okf_markdown sub-filter instead of a code-finder, and process literals as blocks using subFilterProcessLiteralAsBlock

0 attachments

0 comments

Loading commits...