Calibre works well with Markdown but the links in Markdown are really intended as simple links to web pages rather than as text reference notes. However, it can be done and I have attached an example to get you started.
The attached plain text document contains the necessary markdown and has 2 reference notes which link in both directions.
A ToC is also generated which ended up at the end of my ePub but you can move this with any ePub editor. Perhaps it would be useful to have a calibre option to specify where this ToC should go.
Full details of how to convert are in the document itself.
It's worth reading the full Markdown specification as I have used other elements within the document to produce a better ePub. This will also stop you falling into some Markdown 'traps', e.g. 4 leading spaces on a line!
Last edited by Agama; 08-09-2010 at 08:57 AM.
|