@wdprlib/render
    Preparing search index...

    Function renderCode

    • Render a [[code]] block.

      The block is wrapped in <div class="code">. If the block is empty, the div is closed immediately with no inner content.

      Parameters

      • ctx: RenderContext

        The current render context.

      • data: CodeBlockData

        Code block data containing contents and optional language.

      Returns void