a document preparation system based on markdown