mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
formatting for pretty exporter
This commit is contained in:
parent
c9404d013d
commit
be8c48d2b0
1 changed files with 2 additions and 1 deletions
|
@ -83,6 +83,7 @@ class TextExporter:
|
||||||
|
|
||||||
class PrettyExporter(TextExporter):
|
class PrettyExporter(TextExporter):
|
||||||
names = ["pretty"]
|
names = ["pretty"]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def export_entry(cls, entry: Entry) -> Union[str, Any]:
|
def export_entry(cls, entry: Entry) -> Union[str, Any]:
|
||||||
return entry.pprint()
|
return entry.pprint()
|
||||||
|
|
Loading…
Add table
Reference in a new issue