Skip to content

Markdown Reference

A quick reference for the markdown and MDX syntax used across this site. Each section shows the code and the rendered result.

## Major Section (H2)
### Sub-section (H3)
#### Detail (H4): use sparingly

Use exactly one # (H1) per page. Since this page already has one, the examples above start at H2.

**bold** for emphasis and UI labels
*italic* for introducing key terms
`backticks` for code, file names, and identifiers
~~strikethrough~~ for deprecated content

Rendered:

bold for emphasis and UI labels italic for introducing key terms backticks for code, file names, and identifiers strikethrough for deprecated content

Internal links use root-relative paths. Do not include the .mdx extension:

[Getting Started](/mkio/getting-started)
[Choose your first workflow](/mkio/getting-started#choose-your-first-workflow)

Rendered:

Getting Started Choose your first workflow

External links:

[MediaKind](https://www.mediakind.com)

Rendered: MediaKind

Always include descriptive alt text so the image is accessible to screen readers.

There are two places you can store image files:

/public/ folder (recommended for shared assets)

Files placed in /public/ are served at the root URL path. Use this for images shared across multiple pages or product sections.

public/
images/
beam/
beam-architecture-overview.png
mkio/
mkio-dashboard-screenshot.png

Reference them with an absolute path starting with /:

![Beam architecture overview](/images/beam/beam-architecture-overview.png)

Next to your .mdx file (page-specific assets)

For images used only by a single page, you can place the file in the same folder as the .mdx file and use a relative path:

src/content/docs/beam/quick-start/
index.mdx
quick-start-ui.png
![Quick start UI](./quick-start-ui.png)
  • Use lowercase with hyphens: beam-encoder-settings.png, not BeamEncoderSettings.PNG
  • Prefix with the section name for shared images: beam-, mkio-, api-
  • Be descriptive: live-encoder-audio-tab.png, not screenshot1.png
  • Prefer PNG for UI screenshots and diagrams; JPEG for photos
  • Compress images before committing. Keep files under 500 KB where possible
  • For diagrams, SVG is preferred when the source is available
![MediaKind logo](/images/mkcirclebadge.png)

Rendered:

MediaKind logo

Keep images to a minimum. Only use screenshots when text alone cannot explain a UI action.

Unordered:

- Item one
- Item two
- Nested item

Rendered:

  • Item one
  • Item two
    • Nested item

Ordered (use for sequential steps):

1. First step.
2. Second step.
3. Third step.

Rendered:

  1. First step.
  2. Second step.
  3. Third step.
| Field | Required | Notes |
| :------ | :------- | :--------------------- |
| region | Yes | Use a supported region |
| profile | No | Advanced only |

Rendered:

FieldRequiredNotes
regionYesUse a supported region
profileNoAdvanced only

With text alignment:

| Left aligned | Right aligned | Centered |
| :----------- | ------------: | :------: |
| Apple | 100 | - |
| Oranges | 1,000 | n/a |
| Carrots | 40 | - |

Rendered:

Left alignedRight alignedCentered
Apple100-
Oranges1,000n/a
Carrots40-

Always specify a language tag after the opening fence:

```bash
pnpm dev
```

Rendered:

Terminal window
pnpm dev
```json
{
"name": "example"
}
```

Rendered:

{
"name": "example"
}

Supported languages include: bash, json, javascript, typescript, python, yaml, http, txt, and more.

Do not prefix terminal commands with $ or >.

Use a blockquote only when the content is a quotation. Use a Starlight aside directive for an informational note, caution, or danger.

> This is a sourced quotation.

Rendered:

This is a sourced quotation.

Use a Starlight aside for information a reader might otherwise miss:

:::caution[Before you continue]
Verify the target environment before running the command.
:::

Use note, tip, caution, or danger. Do not use the grandfathered Callout component in new content.

Use --- on its own line to create a visual separator between sections.

  • New pages appear automatically. Add frontmatter and place the file below a catalog section. Do not create _meta.json.
  • Use .md by default. Rename a page to .mdx only for the supported portable components.
  • Do not include a source extension in an internal link. Use /mkio/getting-started, not /mkio/getting-started.mdx.
  • Use one # heading per page. Multiple level-one headings break the document outline.
  • Add a language tag to every code block. Unlabelled fences render without syntax highlighting.
  • Do not use legacy components for new content. Use Starlight asides, Starlight Steps, cards, and supported inline icons.
© 2025–2026 MediaKind. All rights reserved.