LibSimpleHTMLMarkdown
Writing clean, readable text inside World of Warcraft addons has always been a bit of a chore. SimpleHTML frames accept only a tiny handful of tags, so even a short documentation block can turn into a tangle of opening and closing brackets. LibSimpleHTMLMarkdown solves that problem by letting you write in Markdown and converting it into HTML that SimpleHTML actually understands. If you maintain an addon, build in-game documentation, or just want readable help panels, this library is worth a closer look.
What LibSimpleHTMLMarkdown Actually Does
At its core, the library implements a single function, :ToHTML() (also callable as :ToHtml()). You hand it either one string or a table of strings that get joined as lines, and it returns an HTML string ready for the :SetText() method on a SimpleHTML frame. That is the entire public surface, which keeps the learning curve refreshingly shallow.
The project is a fork of LibMarkdown-1.0 by Oraibi-MoonGuard, a library that is no longer maintained. Rather than patching the original in place, LibSimpleHTMLMarkdown registers under its own LibStub name, LibSimpleHTMLMarkdown-1.0, so it never collides with copies of LibMarkdown that other addons still embed. Under the hood it descends from the Lua markdown library by Niklas Frykholm, later developed by Peter Melnichenko, and it ships under the MIT License.
Why Bother With Markdown in WoW?
Markdown is simply easier to read, write, and edit than raw HTML. That simplicity makes it far easier to produce clean-looking output in SimpleHTML frames. Documentation blocks in code can be drafted quickly without worrying about whether you remembered to close the right tag. A heading is just a hash, a list is just a dash, and a link is just brackets and parentheses.
Supported Markdown Features
Headings, Links, and Lists
Standard headings from level one through three render as h1, h2, and h3 tags, while deeper levels collapse down to h3. Hyperlinks follow the usual syntax, including reference-style links, but remember that you must define handlers on your SimpleHTML frame if you want clicks to do anything beyond looking pretty. Lists are supported in a rudimentary way: SimpleHTML has no ul or ol tags, so items become separate paragraphs with a marker in front. A lone caret on a line ends the current list, and as an extension you can use letters or Roman numerals for ordered items.
Images, Entities, and Code
Image syntax produces an img tag pointing at an in-game texture, and you can append a caption, dimensions, and alignment. Dimensions accept several formats such as 64x64, 64/64, or 64,64. The library also implements extra entities like and  , supports raid targeting icons such as {Triangle} and {diamond}, and handles fenced or indented code blocks. Inline bold and italics get only partial support because SimpleHTML cannot render them, though you can recolor emphasized text and blockquotes through UI escape codes in the config table.
Compatibility Across World of Warcraft Versions
Because it is a pure Lua library with no client-specific dependencies, LibSimpleHTMLMarkdown works across the whole family of game versions. Addon authors embed it in projects targeting Retail, Classic, TBC, WotLK, Cataclysm, and MoP without modification. The optional AceGUI widget, SimpleHTMLMarkdown_Description, only registers when AceGUI-3.0 is already loaded, so addons that skip Ace3 can embed the library exactly as-is. That flexibility is a big part of why it remains a dependable choice for addon compatibility.
If you would rather skip manual file juggling, the foxygame.net launcher offers a searchable addon catalog and one-click install that can drop LibSimpleHTMLMarkdown into your AddOns folder alongside its dependencies, with automatic updates keeping every embedded copy current between patches.
How to Install LibSimpleHTMLMarkdown
Installation follows the normal library pattern. Include LibSimpleHTMLMarkdown.xml in your addon's TOC or XML file, and make sure LibStub loads first; a copy of LibStub ships with the package if you do not already use it. For players who simply want the library present for another addon, the process is the same as any other download: grab the folder, place it in your Interface\AddOns directory, and restart the client.
- Download LibSimpleHTMLMarkdown from your preferred addon source.
- Extract the folder into World of Warcraft\_retail_\Interface\AddOns or the matching Classic directory.
- Confirm LibStub is loaded before the library in your TOC.
- Optionally enable Demo.lua and run /script LSHMDemoFrame:Show() to see sample output.
When you download LibSimpleHTMLMarkdown for World of Warcraft, check that the version matches your client branch. The library itself is version-agnostic, but the addon embedding it may not be, so a quick look at the TOC interface number saves headaches later. Knowing how to install it correctly the first time also makes future updates painless.
Fixes Over the Original LibMarkdown
This fork starts from LibMarkdown-1.0 minor 9 and cleans up a long list of rough edges. Loading a copy no newer than one already loaded no longer errors, tables of strings are accepted as documented, and non-string items are rejected cleanly instead of crashing inside the parser. Roman numeral lists are typed correctly, a code fence on the final line no longer throws, autolinks and reference images stop indexing missing tables, and empty text returns an empty string. The AceGUI widget keeps its library reference and uses the list_marker key the library actually reads.
Final Thoughts
LibSimpleHTMLMarkdown is a small, focused library that removes a genuine annoyance from WoW addon development. It gives you readable source, predictable output, and broad compatibility across Retail, Classic, TBC, WotLK, Cataclysm, and MoP. Whether you are documenting a hobby project or maintaining a widely used addon, it earns its place in your TOC.
