-
Notifications
You must be signed in to change notification settings - Fork 0
Too many blank lines. #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem seems relatively straightforward: the text from the Markdown is converted to para, which is really a paragraph with its own spacing, so the blank lines also get their own para/paragraph. It comes to reason that our converter should skip altogether those lines. Comment out the para in convert_blank and see if it fixes the problem. By the way, Kramdown has an interesting approach involving looking into the parse tree using opts[:parent]. It's also possible to look into |
Neutering convert_blank does help. There is still an issue with more vertical space than needed when it encounters a header. Thanks. |
It's acceptable now but it could be tweaked a little bette, for example. Md also goes to six header levels. |
* allow very simple md files to be used as opposed to complex github multi-document arrangements.
After a header #, ##, ###.. there are two many lines in the Shoes representation.
Also, one blank line to separate markdown paragraphs often has two Shoes blank lines.
It really shows up using the simple test file, the README.md of the ebook project.

The text was updated successfully, but these errors were encountered: