mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
Most of the Markdown Preprocessors followed a common template, and the `run` and `init` code was duplicated multiple times for different preprocessors. This commit adds a base class from which the preprocessors following the pattern can inherit, and can override the `render` and `generate_text` functions to execute the code.
20 KiB
20 KiB