# Markdown

> Markdown rendering in note records

---

<figure class="logo-figure float-end m-3">
    <img src="/wt-modules/img/heros/markdown-mark.png" alt="Markdown logo" style="width: 160px; height: auto;" loading="lazy" title="Source: &lt;https://de.wikipedia.org/wiki/Datei:Markdown-mark.svg&gt;">

    
</figure>

Markdown is a simple system of formatting, used on websites such as Wikipedia or GitHub. It uses unobtrusive punctuation characters to create headings and sub-headings, bold and italic text, lists, tables, etc.

Webtrees uses a CommonMark implementation and supports a subset of the markup. It is optionally supported in note records on a per-tree basis.

On the subject of markdown, see also:

- <https://commonmark.thephpleague.com/>
- [GitHub webtrees Issues](https://github.com/fisharebest/webtrees/issues?q=is%3Aissue%20markdown)
- GEDCOM-Standard: [NOTE.MIME and markdown #222](https://github.com/FamilySearch/GEDCOM/issues/222) — support in GEDCOM 7.1

> **Note:** For the Markdown Image Support and the additional Markdown Extensions the [MarkdownFactory class](https://github.com/fisharebest/webtrees/blob/main/app/Factories/MarkdownFactory.php) needs to be extended by this module. This replacement class also fixes [fisharebest/webtrees#4841](https://github.com/fisharebest/webtrees/issues/4841), so that a pre-formatted markdown block is not rendered as a single line anymore.

---

Section pages:

- [Markdown Image Support](/wt-modules/en/docs/linkenhancer/features/markdown/md-image/): Embed images from GEDCOM media records or public folder in notes
- [Markdown Editor](/wt-modules/en/docs/linkenhancer/features/markdown/mde/): Visual markdown editor (TinyMDE) for note textareas
- [Markdown Extensions](/wt-modules/en/docs/linkenhancer/features/markdown/md-extensions/): Strikethrough, description lists, footnotes, highlight, TOC, smart punctuation
- [Table cell height control](/wt-modules/en/docs/linkenhancer/features/markdown/cell-height/)
