How markdown to html converter (bidirectional) works
Markdown is a lightweight markup language that maps to HTML using simple punctuation: # for headings, ** for bold, * for italic, - for list items, and [text](url) for links. The Markdown to HTML direction expands those markers into the corresponding HTML tags and escapes raw angle brackets so embedded code stays safe.
Switch the direction to HTML to Markdown and the converter walks an HTML document and produces the equivalent Markdown: headings become # lines, bold and italic become ** and *, lists become dash-prefixed lines, links and images become [text](url) and , and code blocks become fenced ``` blocks.
The two directions are complementary but not always perfectly reversible because Markdown is a subset of HTML. For example, an HTML table or a span has no direct Markdown equivalent and is reduced to its text content. Use the direction you need for the format you are working in.