Update Markdown exporter documentation.

This commit is contained in:
MinchinWeb 2015-04-14 11:38:24 -06:00
parent 95d920b0bf
commit 9ba557c0d3
2 changed files with 3 additions and 2 deletions

View file

@ -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'):

View file

@ -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: