mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 03:58:32 +02:00
Make YAML exporter "pure"
Removes Markdown header formatting and changes export file extension to "yaml" # Conflicts: # jrnl/plugins/yaml_exporter.py
This commit is contained in:
parent
4d3e6dd47d
commit
9c9073e52f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue