/ Advanced / Diverse Plugins

MoPress provides three complementary plugin architectures suited to different environments:

Plugin TypeRuntime EnvironmentBest Suited For
External CLI SubprocessesAny language (Python, Node.js, Rust, Go)Cross-language text and AST transforms (Protocol)
Web ComponentsBrowser DOM runtimeInteractive widgets, tabs, reactive components (Guide)
MoonBit Native ModulesMoonBit native in-processComposable, zero-overhead steps for Site mode (Guide)

  • Preprocessors: Run on raw Markdown text before AST parsing.

  • Transformers: Run on parsed Markdown AST blocks before HTML rendering.