Extending

Plugins, custom parsers, and extension points

1 page in this section

Build plugins, custom parsers, and hook into Bengal's extension points.

Note

Coming soon. Plugin architecture and extension point documentation is under development.

For now, see Architecture Reference to understand Bengal's internals.

Planned Topics

  • Custom Directives — Create your own MyST directives
  • Content Loaders — Build loaders for new content sources
  • Post-Processors — Hook into the build pipeline
  • Custom Parsers — Support new content formats
  • Template Functions — Add custom Jinja filters and functions

Extension Points

flowchart TB subgraph "Your Extensions" A[Custom Directives] B[Content Loaders] C[Post-Processors] D[Template Functions] end subgraph "Bengal Pipeline" E[Discovery] --> F[Processing] F --> G[Rendering] G --> H[Post-Process] end B -.->|feeds| E A -.->|extends| F D -.->|extends| G C -.->|hooks| H