mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Update Markdown exporter documentation.
This commit is contained in:
parent
95d920b0bf
commit
9ba557c0d3
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ import importlib
|
|||
|
||||
|
||||
class PluginMeta(type):
|
||||
|
||||
def __init__(cls, name, bases, attrs):
|
||||
"""Called when a Plugin derived class is imported"""
|
||||
if not hasattr(cls, 'PLUGINS'):
|
||||
|
|
|
@ -6,7 +6,7 @@ from .text_exporter import TextExporter
|
|||
|
||||
|
||||
class MarkdownExporter(TextExporter):
|
||||
"""This Exporter can convert entries and journals into json."""
|
||||
"""This Exporter can convert entries and journals into Markdown."""
|
||||
names = ["md", "markdown"]
|
||||
extension = "md"
|
||||
|
||||
|
@ -27,7 +27,7 @@ class MarkdownExporter(TextExporter):
|
|||
|
||||
@classmethod
|
||||
def export_journal(cls, journal):
|
||||
"""Returns a json representation of an entire journal."""
|
||||
"""Returns a Markdown representation of an entire journal."""
|
||||
out = []
|
||||
year, month = -1, -1
|
||||
for e in journal.entries:
|
||||
|
|
Loading…
Add table
Reference in a new issue