lib/markdown: merge processor and emitter