## Outcome
Refresh the accessible low-resolution Builder documentation screenshots
with current, native 2× light and dark captures. Images retain useful
crops, descriptive alt text, and explicit display widths.
The final audit accounts for 165 candidate files: 132 refreshed, 29
inaccessible screenshots kept with the user's approval, two existing
images made 2× by setting their display width, and two Content Engine
query screenshots held because the current Builder shows a false
draft-filter type warning. Those two originals remain in place pending a
separate Builder fix and recapture. Four animated GIFs remain outside
this still-screenshot refresh.
## Review checklist
- [x] Inventory image references, native dimensions, display widths, UI
states, and source pages; audit omitted references across all docs.
- [x] Replace the approved Form pairs and accessible Builder screenshots
with matching 2× light and dark captures.
- [x] Keep inaccessible external/account/desktop and disabled Export
images, as approved.
- [x] Review size-sufficient images and GIF/diagram exclusions.
- [x] Review crops, alt text, widths, links, and source references.
Independent screenshot review passed.
- [x] Check the full docs image inventory: 322 placements, 284 unique
assets, zero missing files. The only unaccounted sub-2× refs are four
excluded GIFs.
- [x] Run `git diff --check` and verify all 204 changed image files are
referenced; 117 changed picture placements have matching themes and at
least 2× native width.
- [x] Verify required PR checks: Lint PR, Check submodules, Visual
regression, and Main workflow all passed at 14937127db.
- [ ] Recapture the two Content Engine query images after [Builder fix
#6597](https://github.com/webstudio-is/webstudio/pull/6597) reaches the
Builder used for capture. Keep their originals until then.\n- [ ]
Confirm GitBook rendering at intended CSS widths after publication. This
repository has no PR preview.
## Held images
`content-engine-overview-query.png` and
`content-engine-article-query.png` are unchanged. The current Builder's
query form reports a false type warning for the Boolean
`properties.draft` filter. Screenshotting that state would teach a
broken workflow. The user approved a separate [Builder query type fix in
PR #6597](https://github.com/webstudio-is/webstudio/pull/6597). Once
that fix is reviewed, the two screenshots can be recaptured from the
corrected UI. This PR does not change application code.
All captures use synthetic content. No release or publication branch is
changed.
3.1 KiB
description
| description |
|---|
| Markdown Embed converts Markdown to HTML and enables styling it. |
🪜 Markdown Embed
Why Markdown Embed is needed
Some APIs (or users) provide rich text in Markdown format, which can't be rendered in the web browser. Markdown Embed converts Markdown to HTML and enables applying styles to the various tags contained within HTML.
How to use Markdown Embed
Markdown Embed is located in Components > Data.
1. Add Markdown
Once added to the canvas, the right panel will show a Code field. You can either add Markdown directly to it or, more commonly, bind Markdown to it from a Resource.

CMS data bound to Markdown Embed Code
2. Style
In the Navigator, Markdown Embed has various HTML tags nested. Expand Markdown Embed, and you’ll see tags such as Heading 1, Link, Image, and much more.

List selected and styled
Styles applied to each of these tags will apply to all occurrences of that tag within the Markdown Embed. For example, if you apply a border on the Image tag, then all images contained within the HTML will have a border.
GitHub-style alerts
Use GitHub-style alerts to call attention to notes, tips, important information, warnings, and cautions:
> [!NOTE]
> Add helpful context here.
> [!WARNING]
> Explain what readers should be careful about.
Write the alert type in uppercase at the start of a blockquote. Markdown Embed supports NOTE, TIP, IMPORTANT, WARNING, and CAUTION. You can use links, lists, code, and other Markdown inside an alert.
Select Alert to style every alert, or a type-specific descendant such as Warning alert to style one alert type. Markdown Embed renders the same data-state values as the standalone Alert component.
Image handling
Webstudio optimizes images contained in Markdown with the same responsive image pipeline as the Image component. It generates the appropriate srcset and sizes attributes and lazy-loads images by default.
Data URL images are served as-is without optimization.
Similar components
{% content-ref url="html-embed.md" %} html-embed.md {% endcontent-ref %}
{% content-ref url="content-embed.md" %} content-embed.md {% endcontent-ref %}
Related
- Content Embed – Render rich text/HTML
- Alert – Add and style standalone callouts
- HTML Embed – Custom HTML code
- Collection – Loop through CMS data
