Documentation
Writing content

Markdown syntax

Write pages with standard Markdown and GitHub-flavored extensions.

Velu pages are written in Markdown, with GitHub-flavored extensions and the option to drop in components. If you've written Markdown before, everything works the way you expect.

Headings

Use ## and ### for sections and sub-sections. Velu renders the page title from frontmatter, so start your content at ## rather than #. Headings from ## down populate the on-page table of contents.

## Install the SDK
### macOS and Linux
### Windows

Text formatting

Use **bold** for emphasis, *italic* for terms, and `inline code` for
identifiers like `apiKey`.

Use bold for emphasis, italic for terms, and inline code for identifiers like apiKey.

Link to other pages with root-relative paths and no file extension. Use full URLs for external links.

See [Pages](/writing/pages) to add a new page, or the
[Node.js downloads](https://nodejs.org) for the runtime.

Lists

- Create an account
- Verify your email
- Sign in
1. Install the CLI
2. Run `velu init`
3. Start the dev server

Tables

Velu supports GitHub-flavored Markdown tables. The header row and the divider row are required.

| Command | What it does |
| --- | --- |
| `velu init` | Scaffold a new project. |
| `velu dev` | Start the local preview server. |
CommandWhat it does
velu initScaffold a new project.
velu devStart the local preview server.

Blockquotes

> Keep page descriptions to a single sentence.

Images

Reference images with root-relative paths and always include alt text.

![Dashboard overview](/images/dashboard.png)

For captions, browser chrome, or a device bezel, use the <Image> component instead. See Images & embeds.

Dropping in a component

Because pages are MDX, you can mix components into your Markdown. Write the component on its own lines, with blank lines around it.

Follow these steps to connect the CLI:
<Callout type="tip">
Install the CLI globally with `npm i -g @veluai/velu` to drop the `npx` prefix.
</Callout>
Then run `velu dev`.

See Components for the full set. For code samples, see Code blocks.

Was this page helpful?