popcode
popcode copied to clipboard
Lazily instantiate all remark processors
Three Remark scenarios:
- Defaults (used for error messages)
- Syntax highlighted (used for instructions)
- Strip markdown (used for inline error annotations)
util/markdown should present a simple interface to lazily instantiate each of the above processors the first time we need one and then hold on to it for reuse.
@outoftime I can do this refactoring