Interface TagCompiler

All Superinterfaces:
Extension
All Known Implementing Classes:
ATagCompiler, BlockImageTagCompiler, BlockTagCompiler, BoxTagCompiler, BreakCompiler, CategoryIndexCompiler, ColorTagCompiler, CommandLinkCompiler, DivTagCompiler, FloatingImageCompiler, FlowTagCompiler, ItemGridCompiler, ItemImageTagCompiler, ItemLinkCompiler, RecipeCompiler, SceneTagCompiler, SubPagesCompiler

public interface TagCompiler extends Extension
Tag compilers handle HTML-like tags found in Markdown content, such as <Image /> and similar.
  • Field Details

  • Method Details

    • getTagNames

      Set<String> getTagNames()
      The tag names this compiler is responsible for.
    • compileBlockContext

      default void compileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el)
    • compileFlowContext

      default void compileFlowContext(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxTextElement el)
    • index

      default void index(IndexingContext indexer, guideme.libs.mdast.mdx.model.MdxJsxElementFields el, IndexingSink sink)