mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-08 23:12:35 +12:00
Removes MultiMarkDown exporter. See #186.
This commit is contained in:
parent
2cc721674a
commit
4ddb95ff67
|
@ -2,13 +2,11 @@
|
|||
# --!-- coding: utf8 --!--
|
||||
|
||||
from manuskript.exporter.manuskript import manuskriptExporter
|
||||
from manuskript.exporter.mmd import mmdExporter
|
||||
from manuskript.exporter.pandoc import pandocExporter
|
||||
|
||||
exporters = [
|
||||
manuskriptExporter(),
|
||||
pandocExporter(),
|
||||
mmdExporter()
|
||||
pandocExporter()
|
||||
]
|
||||
|
||||
def getExporterByName(name):
|
||||
|
@ -16,4 +14,4 @@ def getExporterByName(name):
|
|||
if e.name == name:
|
||||
return e
|
||||
|
||||
return None
|
||||
return None
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# --!-- coding: utf8 --!--
|
||||
from PyQt5.QtWidgets import qApp
|
||||
|
||||
from manuskript.exporter.basic import basicExporter, basicFormat
|
||||
|
||||
|
||||
class mmdExporter(basicExporter):
|
||||
|
||||
name = "MultiMarkdown"
|
||||
description = qApp.translate("Export", """<p>A superset of markdown.</p>
|
||||
<p>Website: <a href="http://fletcherpenney.net/multimarkdown/">http://fletcherpenney.net/multimarkdown/</a></p>
|
||||
""")
|
||||
exportTo = [
|
||||
basicFormat("HTML", "A little known format modestly used. You know, web sites for example.", "text-html"),
|
||||
basicFormat("latex", "", "text-x-tex"),
|
||||
basicFormat("Flat XML", "", "text-xml"),
|
||||
basicFormat("ePub", "Books that don't kill trees.", icon="application-epub+zip"),
|
||||
]
|
||||
cmd = "multimarkdown"
|
||||
|
||||
def version(self):
|
||||
if self.isValid():
|
||||
r = self.run(["-v"])
|
||||
return r.split("\n")[1]
|
||||
else:
|
||||
return ""
|
||||
|
Loading…
Reference in a new issue