Skip to content

Commit

Permalink
Output as a multiline str, not comment anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
davips committed Jan 10, 2021
1 parent 341163d commit 032bd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoreadme_/autoreadme.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def output(text):
>>> print(output("text"))
# text```
"""
return '# ' + text + '```'
return '"""\n' + text + '\n"""\n```'


def rewrite(input_file, scripts_folder, output_file):
Expand Down

0 comments on commit 032bd5e

Please sign in to comment.