Color mode

Media

Audio and video — media

Audio and video attachments render with the native browser players. The sample below is a short silent WAV.

Source

md
![[media-example.wav]]

Rendered

media-example.wav

Attachments — attachment

A plain WikiLink becomes a download link, and an embedded WikiLink becomes an attachment card.

Source

md
[[attachment-example.txt]]
 
![[attachment-example.txt]]

Rendered

attachment-example.txt

txt
This text file is used by the Attachment plugin documentation.

PDF — pdf

Embedded PDFs render in the browser's native PDF viewer.

Source

md
![[pdf-example.pdf]]

Rendered

Download PDF Open PDF
PDF pdf-example.pdf 604 B Download PDF

Rich embeds — rich-embed

Turn a URL into an embed for YouTube, Vimeo, Spotify, CodePen, Gist, and more.

Source

md
```embed
https://www.youtube.com/watch?v=dQw4w9WgXcQ
title: Demo video
caption: A short caption
aspect: 16/9
```

Rendered

A short caption

Source

md
```gallery
columns: 3
items:
  - title: Default
    description: A clean, typographic theme.
    href: https://riebeckite.dev/docs/themes/default
  - title: Minimal
    description: Stripped back to the essentials.
    href: https://riebeckite.dev/docs/themes/minimal
  - title: Gruvbox
    description: A warm, high-contrast palette.
    href: https://riebeckite.dev/docs/themes/gruvbox
```

Rendered

Excalidraw — excalidraw

Embedding an Excalidraw note replaces it with an SVG in the browser. This site embeds the drawing in assets/HW.md.

Source

md
![[HW]]

Rendered

Responsive image — responsive-image

Embedding an image with ![[...]] expands to a <picture> element with multiple size candidates when the variants exist.

Source

md
![[riebeckite-logo-horizontal.png]]

Rendered

Click the image to open it in an accessible dialog.

Source

md
![[riebeckite-logo.png]]

Rendered

A cardlink fence with a URL and metadata becomes a link card.

Source

md
```cardlink
url: https://example.com/riebeckite
title: Riebeckite
description: A tool that builds a static site from Markdown
host: example.com
```

Rendered

Image comparison — image-compare

A fenced image-compare block shows two images with a draggable divider. Without JavaScript, both images stay visible with Before and After labels.

Source

md
```image-compare
---
before: ../../../assets/themes/theme-default-light.png
after: ../../../assets/themes/theme-default-dark.png
beforeAlt: Default theme in light mode
afterAlt: Default theme in dark mode
label: Default theme, light to dark
---
```

Rendered

Default theme in light modeBeforeDefault theme in dark modeAfter
Default theme in light mode
Default theme in dark mode
Default theme, light to dark

Powered by Riebeckite

Local Graph

Nearby Notes