
Callum Reid
Markdown is a family of closely related dialects, and most bugs in it come from writing for one and rendering in another. On top of that sit tables, footnotes, task lists, strikethrough, attributes, maths and raw HTML. A renderer either enables a subset of these or ignores them silently, and ignored syntax usually surfaces as literal punctuation.
Fenced code blocks are the most reliable part and still have edge cases. Info strings carry a language identifier for highlighting, and some renderers read options from the same string. An unclosed fence swallows the remainder of the document, which is why a stray backtick is worth checking first when a page renders short.
Links get their own treatment. Reference-style links resolve anywhere in the document, which is convenient right up until two definitions collide. Bare URLs are autolinked by some renderers and left as plain text by others, and a link with mismatched brackets produces output that looks fine and points at the wrong place. Raw HTML is where sanitisation earns its place.
Markdown passes HTML through by design, so a document containing a script tag or an event handler attribute reaches the browser unless the pipeline strips it. Sanitisers differ in which tags they allow, and allowing a tag for a benign reason can permit an attribute with a script handler, reintroducing the problem it was meant to remove. I cover heading level discipline too, because renderers frequently promote or demote headings to fit a template, and that silently breaks both the outline and accessibility.
Expertise
Written by Callum (10)

Converting Markdown to HTML Email That Actually Renders
Converting Markdown to HTML email means parse, then adapt: inline the styles, build layout with tables, and add the head boilerplate clients need.

Markdown to PDF: A Pipeline That Handles Pagination
How Markdown to PDF works as a two-step pipeline, when to print from a browser versus a dedicated engine, and the print CSS that decides quality.

How to Test HTML Email Rendering Before You Hit Send
Test HTML email rendering properly: why Outlook differs, a six-step pre-send checklist, client-by-client constraints, defensive coding, and seed-list workflow.

CommonMark vs GitHub Flavored Markdown: The Real Difference
CommonMark is the base Markdown spec; GFM is a strict superset adding tables, task lists, and strikethrough. Where the line sits, and which to target.

Rendering a Markdown README on GitHub and GitLab
GitHub and GitLab share GFM but differ on relative links, embedded HTML, and tables. The three portability problems and how to check for each.

Linting Markdown in CI: Catch Broken Docs Before Readers Do
How to add a Markdown linter and link checker to a CI pipeline, split errors from warnings, and catch broken documentation before it reaches production.

Markdown vs HTML: When to Use Each Format
Markdown vs HTML compared with real measurements: rendered HTML ran 23% heavier than source, plus capability tables, safety notes, and when each format fits.

Converting HTML Back to Markdown: What You Lose and Why
HTML to Markdown is lossy by design, since HTML carries presentation and Markdown does not. What survives, what does not, when a round trip pays off.

Markdown Tables: Syntax, Gotchas, and Why Yours Is Broken
How Markdown tables actually work, the four rules that break them silently, and how to check whether a renderer supports the GFM table extension at all.

Markdown Syntax Cheat Sheet: Every Core Rule, One Page
A one-page Markdown syntax reference covering headings, emphasis, lists, links, code, tables, and escapes, with the CommonMark rule behind each one.
About ToolSura
ToolSura offers 77 free, privacy-first online tools that run 100% in your browser - no uploads, no logins. Learn more about our mission →