Converts a web page to markdown
This is basically a fancy wrapper script for reverse_markdown, written specifically to be used by CiviCRM developers as part of the process of transferring wiki content to mkdocs.
For help and usage, see:
webpage2md --help
- Within
<pre>
blocks of the source HTML (e.g. code examples), any occurrences of the string\n
will be replaced with a newline. This behavior messes up the display of the code block in the markdown, and will be apparent when viewing the result. Workaround: edit markdown and replace any of these rogue newlines with\n
.