From 9c9073e52f3ec8c12cd900b1b2dc89781e7f192a Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Mon, 11 Oct 2021 11:05:36 -0600 Subject: [PATCH] Make YAML exporter "pure" Removes Markdown header formatting and changes export file extension to "yaml" # Conflicts: # jrnl/plugins/yaml_exporter.py --- jrnl/plugins/pelican_markdown_exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jrnl/plugins/pelican_markdown_exporter.py b/jrnl/plugins/pelican_markdown_exporter.py index 279b1da7..b98863a6 100644 --- a/jrnl/plugins/pelican_markdown_exporter.py +++ b/jrnl/plugins/pelican_markdown_exporter.py @@ -129,9 +129,9 @@ class PelicanMarkdownExporter(TextExporter): @classmethod def export_journal(cls, journal): - """Returns an error, as YAML export requires a directory as a target.""" + """Returns an error, as Pelican Markdown export requires a directory as a target.""" print( - "{}ERROR{}: YAML export must be to individual files. Please specify a directory to export to.".format( + "{}ERROR{}: Pelican Markdown export must be to individual files. Please specify a directory to export to.".format( ERROR_COLOR, RESET_COLOR ), file=sys.stderr,