View Single Post
Old 08-09-2010, 08:48 AM   #3
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
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!
Attached Files
File Type: txt TxtLnk.txt (1.6 KB, 803 views)

Last edited by Agama; 08-09-2010 at 08:57 AM.
Agama is offline   Reply With Quote