Skip to content

Commit

Permalink
Use better function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyannn committed Dec 31, 2023
1 parent 7041f9f commit c02f681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions to_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def md_code(lang, text) -> Iterable[str]:
@click.command()
@click.argument("in_dir")
@click.argument("out_dir")
def redact(in_dir, out_dir):
def to_markdown(in_dir, out_dir):
"""Convert all files into markdown files ready for display with Zola
Markdown files get a preamble, while all other files are encoded with a ``` code block.
Expand Down Expand Up @@ -66,4 +66,4 @@ def redact(in_dir, out_dir):

if __name__ == "__main__":
# pylint: disable=no-value-for-parameter
redact()
to_markdown()

0 comments on commit c02f681

Please sign in to comment.