I am using paragraph style block and formatting style markdown.
The markdown appears to work but the text paragraphs are being combined even though I am separating them with a blank line.
What am I missing here? It seems calibre is ignoring the block paragraph style once the markdown preprocessing has been done.
Thanks.
Input:
Quote:
# THE TITLE OF THE BOOK
# An Author
with acknowledgement to:
The first person,
and the second person, whom I'd like on a line (but not a paragraph) of their own.
Here is a special mention, in its own paragraph, of the third person.
This is the end paragraph of the acknowledgement section.
---
### Version History
It would be nice to have some sort of table facility without using tabs or spaces or dots.
Version.....Date...............Editor
1.0.........October 2013.......Me
---
### Another Heading
I wanted to convert a text base file into epub format. I wanted to use markdown too so that I could have nicer formatting in e-readers that could use it in text format
I wanted to use calibre as the conversion engine.
What would be nice would be to allow hard end of lines.
A bit like this.
And this
so I could have lines of things without making them lists but keeping single line spacing.
|
Output:
Quote:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Unknown</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1>THE TITLE OF THE BOOK</h1>
<h1>An Author</h1>
<p>with acknowledgement to:
The first person, and the second person, whom I'd like on a line (but not a paragraph) of their own.
Here is a special mention, in its own paragraph, of the third person.
This is the end paragraph of the acknowledgement section.</p>
<hr/>
<h3>Version History It would be nice to have some sort of table facility without using tabs or spaces or dots.</h3>
<p>Version.....Date...............Editor
1.0.........October 2013.......Me</p>
<hr/>
<h3>Another Heading</h3>
<p>I wanted to convert a text base file into epub format. I wanted to use markdown too so that I could have nicer formatting in e-readers that could use it in text format
I wanted to use calibre as the conversion engine.
What would be nice would be to allow hard end of lines. A bit like this. And this so I could have lines of things without making them lists but keeping single line spacing.</p>
</body></html>
|
Having discovered how to do markdown hard breaks with 2 spaces at the end of a line I put my source through
Dingus and here is the result. Perhaps calibre's Python markdown processing is the difference?
Quote:
<h1>THE TITLE OF THE BOOK</h1>
<h1>An Author</h1>
<p>with acknowledgement to:</p>
<p>The first person, <br />
and the second person, whom I'd like on a line (but not a paragraph) of their own.</p>
<p>Here is a special mention, in its own paragraph, of the third person.</p>
<p>This is the end paragraph of the acknowledgement section.</p>
<hr />
<h3>Version History</h3>
<p>It would be nice to have some sort of table facility without using tabs or spaces or dots.</p>
<p>Version.....Date...............Editor</p>
<p>1.0.........October 2013.......Me</p>
<hr />
<h3>Another Heading</h3>
<p>I wanted to convert a text base file into epub format. I wanted to use markdown too so that I could have nicer formatting in e-readers that could use it in text format</p>
<p>I wanted to use calibre as the conversion engine.</p>
<p>What would be nice would be to allow hard end of lines. <br />
A bit like this. <br />
And this <br />
so I could have lines of things without making them lists but keeping single line spacing.</p>
|