mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-21 21:32:26 +12:00
21 lines
622 B
Python
21 lines
622 B
Python
#!/usr/bin/env python
|
|
# --!-- coding: utf8 --!--
|
|
from PyQt5.QtWidgets import QTextEdit
|
|
|
|
from manuskript.exporter.basic import basicExporter, basicFormat
|
|
|
|
class plainText(basicFormat):
|
|
name = "Plain text"
|
|
description = "Simplest export to plain text. Allows you to use your own markup not understood " \
|
|
"by manuskript, for example <a href='www.fountain.io'>Fountain</a>."
|
|
implemented = False
|
|
requires = {
|
|
"Settings": True,
|
|
"PreviewBefore": True,
|
|
"PreviewAfter": False,
|
|
}
|
|
|
|
@classmethod
|
|
def settingsWidget(cls):
|
|
sW = QTextEdit()
|
|
return sW |