From 95ffecd9f4cb671b56359a9652fbbaf9c5f35012 Mon Sep 17 00:00:00 2001 From: Jason Edgecombe Date: Sat, 17 Dec 2022 20:15:09 -0500 Subject: [PATCH] pandoc: Update formatting to follow recommended practice - Follow-up to pull request #15 - Incorporates suggestions from @EmilySeville7cfg --- pandoc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pandoc b/pandoc index 64356c5..aa6beb3 100644 --- a/pandoc +++ b/pandoc @@ -1,5 +1,12 @@ -# Convert HTML file to Markdown -pandoc -f html -t markdown -i -o +--- +syntax: bash +tags: [converters, markdown] +--- -# Convert Markdown file to HTML -pandoc -f markdown -t html -i -o +# Convert HTML file to Markdown: + +pandoc --from=html --to=markdown --output= + +# Convert Markdown file to HTML: + +pandoc --from=markdown --to=html --output=