ConvertersLesson 41Free preview
HTML to Markdown
This lesson is part of Web Developer Tools · All levels
Summary
The HTML converter to Markdown converts elements such as heading, paragraph, link, list, and emphasis into the equivalent Markdown syntax. The results are more concise and easy to read than ordinary text, for example for documentation or comments in a repository. Conversion is lossy: CSS styling, classes, and complex structures are usually not carried. Always review the results, especially for tables, HTML clusters, and entity characters.
Key points
- HTML header to # mark according to level
- The link is in [text]
- Strong and em become fat or dirty
- The HTML list becomes a Markdown list with a mark - or number
- The complex structure and CSS styling can be lost during conversion.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.