{
    "content": [
        {
            "type": "text",
            "text": "# RDoc::Markup::PreProcess::register (ri)\n\n## Sections\n\n- **RDoc::Markup::PreProcess::register**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDoc::Markup::PreProcess::register",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "RDoc::Markup::PreProcess::register",
                "lines": 19,
                "subsections": []
            }
        ],
        "sections": {
            "RDoc::Markup::PreProcess::register": {
                "content": "(from gem rdoc-7.2.0)\n=== Implementation from PreProcess\n------------------------------------------------------------------------\nregister(directive, &block)\n\n------------------------------------------------------------------------\n\nRegisters directive as one handled by RDoc.  If a block is given the\ndirective will be replaced by the result of the block, otherwise the\ndirective will be removed from the processed text.\n\nThe block will be called with the directive name and the directive\nparameter:\n\nRDoc::Markup::PreProcess.register 'my-directive' do |directive, param|\n# replace text, etc.\nend\n\n",
                "subsections": []
            }
        }
    }
}