msmid / markdown2docbook

Conversion tool for transforming markdown text files to DocBook/HTML documents. Project is based on XSLT 2.0 technology.
MIT License
21 stars 6 forks source link

Change parsing from "line" logic to "whole string" logic #10

Closed msmid closed 10 years ago

msmid commented 10 years ago

It seems that parsing by lines is not really effective. It creates more problems that it solves. Obviously block elements are mostly containing more than one line so it require another step where same elements merge together. Whole string logic would solve this and would bring cleaner solution.

The solution is parsing document as one continous string. Expected changes in: