Right now, class hierarchy is mainly determined by the resulting Markdown / Html, meaning that for example MkAdmonitionBlock and MkAdmonition do NOT inherit from some common MkBaseAdmonition. class MkAdmonitionBlock inherits from MkBlock instead, which is the base class for all Block-extension based MkNodes. It might be the better choice to model hierarchy without taking the technicals into account, and make the output style either an instance option, a global option, or automatically chosen based on context.
Right now, class hierarchy is mainly determined by the resulting Markdown / Html, meaning that for example MkAdmonitionBlock and MkAdmonition do NOT inherit from some common MkBaseAdmonition. class MkAdmonitionBlock inherits from MkBlock instead, which is the base class for all Block-extension based MkNodes. It might be the better choice to model hierarchy without taking the technicals into account, and make the output style either an instance option, a global option, or automatically chosen based on context.