![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Multimarkdown instead of markdown
Does anyone know if kovidgoyal has considered using multimarkdown instead of markdown? Multimarkdown is a superset which is way more powerful than regular markdown. It also allows easy conversion to other formats so there's incentive to use it even without Calibre for conversion.
http://fletcherpenney.net/multimarkdown/ http://fletcher.github.io/peg-multim...mmd-manual.pdf |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont maintain the txt input plugin, the person you need to ask is user_none
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Thanks for the quick response. Hopefully user_none monitors the forums as dilgently as you and will see this post.
![]() |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Btw, thanks for this awesome software.
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Multimarkdown looks like it just adds some extensions to markdown (as far as input goes). From a cursory look what's added to the markdown format by multimarkdown is already supported by extensions provided by Python Markdown.
Right now the footnotes and tables extensions are the only ones enabled. I might be a good idea to check what other extensions we're including and allow those to be optionally enabled. I believe only footnotes and tables were enabled because some of the others were tripping people up when enabled. |
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Quote:
One of the reasons I was wanting it is because of the easy step from multimarkdown to full LaTeX documentation to create really nice documentation or books as PDF. I think multimarkdown would have a nice advantage there. Basically it's really nice to have a portable write-once solution. The meta-data that you can put into multimarkdown is quite handy where the markdown solution that I think you support does not. You explicitly have to specify things such as author, title, etc etc whilst in MMD you don't. Did you have a look at the metadata attributes at all? |
|
![]() |
![]() |
![]() |
#8 | ||
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Calibre's input plugins convert to OEB. OEB is the intermediate format. All output plugins take OEB and convert it to the output format. In this way any supported input format can be converted to any supported output format. Multimarkdown as a perl script simply does not work with calibre. Also, compared to calibre it's quite limited as a conversion solution. Quote:
Again, the metadata format is an extension to the markdown format that's already supported by Python Markdown (which calibre uses internally for parsing markdown input). That extension is simply not enabled at this time. Hence the comment about allowing users to enable additional extensions in addition to the two that are by default and always enabled. |
||
![]() |
![]() |
![]() |
#9 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Quote:
Code:
[~]$ file `which multimarkdown` /usr/local/bin/multimarkdown: Mach-O 64-bit executable Quote:
|
||
![]() |
![]() |
![]() |
#10 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Latex output is completely separate from enhancements to the markdown syntax calibre supports. Adding multimarkdown as part of calibre to get latex output isn't possible. |
|
![]() |
![]() |
![]() |
#11 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Quote:
Iow. I'm hoping a file.md can be parsed with both MMD and the multimarkdown + extensions you're talking about for Calibre. |
|
![]() |
![]() |
![]() |
#12 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The ability to enable/disable various Markdown extensions has been added for the next release. I don't know how well the meta plugin works though... It will put the markdown metadata into the html but I'm not sure if it's read back out.
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
awesome.thanks! we'll see what happens
![]() |
![]() |
![]() |
![]() |
#14 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The conversion GUI for txt input will give you a the name and description. You can see more information about each extension here.
Some extensions are excluded from being enabled. This is either due to the extension being added in a newer version of PyMarkdown than calibre is using. Or the extension really doesn't make any sense for calibre to enable. |
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
much thanks
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Markdown Query : Using Emphasis | Agama | Conversion | 10 | 09-20-2011 03:12 PM |
markdown-calibre | bobb40 | Conversion | 1 | 07-08-2011 12:02 PM |
detecting chapters with --markdown | p3aul | Conversion | 7 | 05-15-2011 11:01 AM |
->Txt+Markdown | Perkin | Calibre | 2 | 12-11-2010 04:04 AM |
Markdown editor | user_none | Workshop | 0 | 08-30-2009 09:25 PM |