Conditionalizing Markdown
Posted: Tue Oct 27, 2020 1:42 am
We know we can conditionalize Markdown in a DITA map by specifying a filtering attribute on the md topicref, but is there a way to conditionalize content within a markdown file so that @audience="internal", for example, winds up in the corresponding DITA element? Is there a way to pass through the equivalent of a processing instruction that could be placed around internal content within a Markdown file? I didn't see anything in the GFM Spec that resembled such a feature. If there is, then could an extension point to the LwDITA plugin convert this "processing instruction" into a conditional attribute that works just fine with DITA-OT and Oxygen's profiling support?