---
title: "getMarkdownUrl"
description: "The Markdown URL of the item's page."
canonical: "https://www.qino.works/docs/api/item/get-markdown-url"
---

# getMarkdownUrl

> The Markdown URL of the item's page.

Returns the absolute URL of the item page's Markdown: the page's URL on `siteUrl` with `.md` appended. The item must declare [`page`](https://www.qino.works/docs/api/item#parameters).

```ts title="src/app/about/page.tsx"
aboutItem.getMarkdownUrl(); // "https://example.com/about.md"
```

## Signature

```ts title="@qino/cms"
item.getMarkdownUrl(): string;
```

## Returns

`string`: `page` joined to `siteUrl`, with `.md` appended after any trailing `/`. A `page` of `/` gives `/index.md`, and `qino build` then skips writing its own `index.md`.

## Throws

- `Item "<file>" has no page: declare it to get page Markdown and a Markdown URL.`

## See also

- [getPageMarkdown](https://www.qino.works/docs/api/item/get-page-markdown)
