Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Kling
c1efa4f336 LibMarkdown: Include a <head> element when rendering MD to HTML
This should really be handled by LibHTML, but just include a <head>
element for now, so generated man pages always have a <head>.
2019-10-30 20:28:44 +01:00
Andreas Kling
517e78a7e2 LibMarkdown: Emit properly formed HTML documents 2019-10-13 12:58:56 +02:00
Andreas Kling
b0d2117bfd LibMarkdown: Avoid emitting <pre> tags for now, to help LibHTML
LibHTML can't handle block children of inline elements just yet.
2019-10-03 16:46:38 +02:00
Sergey Bugaev
30437b0936 LibMarkdown: Implement link support
We can now parse links that like this:

   visit the [SerenityOS home page](http://www.serenityos.org/)

producing proper <a> HTML elements ^)
2019-10-03 08:23:54 +02:00
Andreas Kling
d43c7d55f4 LibMarkdown: Support escaping of special characters
This allows you to escape function\_names\_like\_this() :^)
2019-09-28 20:51:46 +02:00
Sergey Bugaev
2e80b2b32f Libraries: Add LibMarkdown 2019-09-28 18:29:42 +02:00