Writes to an output file if `outfile` is a valid path.
(markdown_cont, output_file)
| 257 | return markdown |
| 258 | |
| 259 | def outputMarkdown(markdown_cont, output_file): |
| 260 | """ |
| 261 | Writes to an output file if `outfile` is a valid path. |
| 262 | |
| 263 | """ |
| 264 | if output_file: |
| 265 | with open(output_file, 'w') as out: |
| 266 | out.write(markdown_cont) |
| 267 | |
| 268 | def markdownToclify( |
| 269 | input_file, |
no test coverage detected