mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 18:49:38 +12:00
23 lines
622 B
Python
23 lines
622 B
Python
#!/usr/bin/env python
|
|
# --!-- coding: utf8 --!--
|
|
from PyQt5.QtWidgets import QTextEdit, qApp
|
|
|
|
from manuskript.exporter.basic import basicExporter, basicFormat
|
|
from manuskript.exporter.manuskript.markdown import markdown
|
|
from manuskript.exporter.manuskript.plainText import plainText
|
|
|
|
|
|
class manuskriptExporter(basicExporter):
|
|
|
|
name = "Manuskript"
|
|
description = qApp.tr("Default exporter, provides basic formats used by other exporters.")
|
|
exportTo = [
|
|
plainText,
|
|
markdown,
|
|
basicFormat("HTML"),
|
|
basicFormat("OPML")
|
|
]
|
|
|
|
@classmethod
|
|
def isValid(cls):
|
|
return True |