A markdown parser that produces a equivalent HTML document.
It currently supports following HTML tags:
#
-><h1>
##
-><h2>
###
-><h3>
-
-><li>
![]()
-><img>
>
-><blockquote>
"```"
-><pre>
While flushing the output, it takes care of formatting the HTML. Currently, the code works but it's not "smart".
# Heading 1
content 1
## Heading 2
content 2
### Heading 3
content 3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Heading 1</h1>
content 1<br>
<br>
<h2>Heading 2</h2>
content 2<br>
<br>
<h3>Heading 3</h3>
content 3<br>
</body>
</html>
$ mkdir build && cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
$ make