--- title: "Markdown view syntax reference ([d360] markers)" slug: "markdown-view-syntax-reference" updated: 2026-11-23T08:45:35Z published: 2026-11-23T08:45:35Z canonical: "docs.document360.com/markdown-view-syntax-reference" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.document360.com/llms.txt > Use this file to discover all available pages before exploring further. # Markdown view syntax reference ([d360] markers) Use this reference when you write or edit an article in **Markdown view** in the unified Editor and need the exact syntax for a Document360 element, such as a callout, tabs, an FAQ, or a configured table. Each section shows the text to type in Markdown view. Copy it as it is. NOTE The unified **Editor** is rolled out in phases and is currently available in projects created after November 23, 2026. Projects created earlier continue to use the Advanced WYSIWYG editor and the Markdown editor. We're working to make it available to all projects soon. NOTE This article applies only to **Markdown view in the unified Editor**. It does not apply to the **Markdown editor**, which is a separate editor in projects that use the Advanced WYSIWYG and Markdown editors. The Markdown editor does not use `[d360]` markers. For its syntax, read [Basic Markdown syntax](/help/docs/basic-markdown-syntax) and [Markdown editor](/help/docs/markdown-editor). NOTE Not sure which editor you are using? Open any article in edit mode and check the label in the article header. It shows Unified **Editor**, **Advanced WYSIWYG**, or **Markdown**. --- ## How Markdown view syntax works In the unified Editor, select **Switch to Markdown view** () in the article header to see and edit the article as Document360 Flavored Markdown (DFM). DFM is standard Markdown (CommonMark and GitHub Flavored Markdown) plus `[d360]` markers for the Document360 elements that Markdown can't describe. Follow these rules and your content stays exactly as you wrote it when you switch back to Block view and save: - **Use standard Markdown wherever it works.** Headings, bold, italic, lists, links, images, code blocks, block quotes, and simple tables need no marker. - **Use a `[d360]` marker only for Document360 elements and settings**, such as callout types, tabs, FAQs, table borders, and media size. - **Put a blank line between blocks**, including before an opening marker, after it, and before the closing marker. - **Don't indent a marker four spaces.** Four spaces turn it into a code block. Inside a list item, align the marker with the item's text. Markers are written as Markdown link reference definitions, so GitHub, VS Code, and other Markdown viewers show nothing for them. Your article still reads correctly in those viewers. A setting at its default value is not written. If you type a marker that only sets defaults, the unified Editor removes it when it saves the block. --- ## The [d360] marker Most Document360 elements are a pair of markers around ordinary Markdown: an opening marker with the element name, and a closing marker with the same name after a `/`. ``` [d360]: # 'callout kind="success"' > The setup completed successfully. [d360]: # "/callout" ``` - The label is always `[d360]` and the destination is always `#`. - Use double quotes when the marker has no attributes, for example `[d360]: # "tabs"`. - Use single quotes when it has attributes, for example `[d360]: # 'tabs default="1"'`. - A few elements stand alone and have no closing marker: page break, snippet, and the block glossary term. --- ## Quick reference | Element | How you write it in Markdown view | Marker needed? | | --- | --- | --- | | Heading | `## Heading` | Only for a custom anchor ID | | Bold, italic, strikethrough | `**bold**`, `*italic*`, `~~struck~~` | No | | Underline, highlight, superscript, subscript | `<u>`, `<mark>`, `<sup>`, `<sub>` | No (HTML) | | Text color and background | `<span style="color: #ff0000">` | No (HTML) | | Bullet or numbered list | `- item`, `1. item` | Only for a list style | | Checklist | `- [ ] item`, `- [x] item` | No | | Warning, Note, Tip, Important, or Caution callout | `> [!WARNING]` and the other GitHub alerts | No | | Info, Success, or Error callout | `callout` marker | Yes | | Accordion | `<details>` and `<summary>` | Only to remove the border | | FAQ | `faq` marker around `<details>` | Yes | | Tabs | `tabs` marker around `<details>` | Yes | | Table | Pipe table | Only for borders, stripes, freezing, widths, or cell colors | | Image | `![alt](url)` | No | | Video, iframe, PDF, file | Media marker around a link | Yes | | Code block | Three backticks and a language | No | | Mermaid diagram | Code block with `mermaid` | Only for size, alignment, or caption | | Math | `$...$` inline, `$$` block | No | | Page break | `page-break` marker | Yes | | Styled divider | `divider` marker above `---` | Yes, for dashed or dotted | | Private note | `private-note` marker | Yes | | Snippet | `snippet` marker | Yes | | Alignment, indent, line height | `aligned`, `indent`, `line-height` markers | Yes | --- ## Headings Type `##`, `###`, or `####` and a space before the heading text. Every heading gets an anchor ID made from its text, for example `## Getting started` gets `getting-started`, so you don't need a marker for it. To give a heading an anchor ID of your own, wrap it in a `heading` marker: ``` [d360]: # 'heading id="config"' ## Configuration [d360]: # "/heading" ``` If you rename a heading, it keeps its anchor ID, and the marker is added for you so links to it keep working. Don't delete a `heading` marker, or links to that heading break. --- ## Text formatting Use Markdown for bold, italic, strikethrough, and inline code: ``` **Bold**, *italic*, ~~strikethrough~~, and `inline code`. ``` For formatting that Markdown has no syntax for, type HTML: ``` underline highlight 1st H2O Ctrl+C ``` For text color, background, font size, or font weight, use one `<span>` with a `style`: ``` red text yellow background ``` To open a link in a new tab, add the attribute in braces straight after the link, with no space: ``` [Open in new tab](https://example.com){target="_blank" rel="noopener"} ``` --- ## Lists Bullet lists, numbered lists, and checklists are standard Markdown: ``` - First - Second - Nested 1. One 2. Two - [ ] To do - [x] Done ``` A list in a style other than the default, such as upper Roman numerals, is wrapped in a `list-format` marker: ``` [d360]: # 'list-format value="upper-roman"' 1. One 2. Two [d360]: # "/list-format" ``` The `value` can be `disc`, `circle`, `square`, `decimal`, `lower-alpha`, `upper-alpha`, `lower-roman`, `upper-roman`, `lower-greek`, `decimal-paren`, `lower-alpha-paren`, `lower-roman-paren`, `multi-decimal`, or `multi-decimal-paren-list`. For a multilevel list with a different style on each level, use the `multi-level-list` marker: ``` [d360]: # 'multi-level-list styles="decimal,lower-alpha,lower-roman"' 1. First item 1. Sub-item 1. Sub-sub-item 2. Second item [d360]: # "/multi-level-list" ``` --- ## Callouts In Markdown view, every callout's body is a block quote (`>`). There are two ways to write a callout, depending on its type. **GitHub alerts.** Five callout types are written as GitHub alerts, with no marker. Type the alert on the first line and the text on the next line: ``` > [!WARNING] > Never share your signing certificate. ``` | Type in Markdown view | Shown in Block view as | | --- | --- | | `> [!NOTE]` | An **Info** callout | | `> [!TIP]` | A **Success** callout | | `> [!IMPORTANT]` | A **Warning** callout | | `> [!WARNING]` | A **Warning** callout | | `> [!CAUTION]` | An **Error** callout | Each alert stays exactly as you typed it in Markdown view, including after you edit its text in Block view. **The `callout` marker.** Info, Success, and Error callouts that you insert in Block view are written with a `callout` marker and a `kind`: ``` [d360]: # 'callout kind="info"' > Info text. [d360]: # "/callout" ``` ``` [d360]: # 'callout kind="success"' > Success text. [d360]: # "/callout" ``` ``` [d360]: # 'callout kind="error"' > Error text. [d360]: # "/callout" ``` ### Add a title Make the first line of the callout bold, then leave a blank quoted line before the body: ``` [d360]: # 'callout kind="info"' > **Before you begin** > > You need administrator access. [d360]: # "/callout" ``` ### Change the colors or hide the title Add `background`, `border`, or `show-title="false"` to the marker. Adding any of these to a GitHub alert means it also uses the marker form: ``` [d360]: # 'callout kind="info" background="#9999ff" border="#3333aa"' > Custom-colored callout. [d360]: # "/callout" ``` NOTE In Markdown view, pressing **Enter** inside a block quote starts the next line with `>` for you. When you type several callouts in a row, remove the extra `>` after each one, or the callouts nest inside each other. --- ## Accordions An accordion is an HTML `<details>` element with a `<summary>`. Leave a blank line after `</summary>` and before `</details>`, or the body's Markdown isn't rendered: ```
What's in this section? The accordion body. It can hold **any** content, such as lists and code blocks.
``` To show the accordion expanded when the page loads, write `<details open>`. An accordion has a border by default. To remove the border, wrap the accordion in an `accordion` marker with `border="withoutBorder"`: ``` [d360]: # 'accordion border="withoutBorder"'
Advanced options Body.
[d360]: # "/accordion" ``` --- ## FAQ Wrap a heading and one `<details>` per question in a `faq` marker. The marker is what makes it an FAQ block instead of separate accordions: ``` [d360]: # "faq" ### Frequently asked questions
How do I reset my password? Select **Forgot password** on the sign-in page.
Can I change my username? No. Contact your administrator.
[d360]: # "/faq" ``` To show a question expanded when the page loads, write `<details open>` for that question. --- ## Tabs Wrap one `<details>` per tab in a `tabs` marker. Each `<summary>` is the tab label: ``` [d360]: # "tabs"
Windows Run the installer.
macOS Drag the app to Applications.
[d360]: # "/tabs" ``` The first tab is shown first. To show a different tab first, add `default` with the tab's position, counting from 0. For example, `[d360]: # 'tabs default="1"'` shows the second tab first. --- ## Tables A simple table is a standard pipe table. The separator row sets each column's alignment: ``` | Plan | Articles | Workspaces | | :--- | :---: | ---: | | Standard | 1,000 | 1 | | Business | 5,000 | 3 | ``` To add borders, stripes, frozen rows or columns, column widths, or cell colors, wrap the table in a `table` marker. The table inside stays a pipe table: ``` [d360]: # 'table border="all" striped="true" freeze-header="1"' | IdP attribute | Required | Maps to | | :--- | :---: | ---: | | `NameID` | Yes | Login identifier | [d360]: # "/table" ``` | Attribute | Values | What it does | | --- | --- | --- | | `border` | `all`, `outer`, `inner`, `none` | Sets which edges have a border | | `striped` | `true` | Shades alternate rows | | `freeze-header` | `1` | Freezes the header row | | `freeze-first-col` | `1` | Freezes the first column | | `freeze-rows`, `freeze-cols` | A number | Freezes that many rows or columns | | `fit-width` | `true`, `false` | Fits the table to the page width | | `col-widths` | Widths in column order, for example `120,240` | Sets column widths | | `header` | `none` | Removes the header row | | `cell-bg` | `r2c1=#ffff00` | Sets one cell's background (row 2, column 1, counting the header as row 1) | | `cell-align` | `r1c2=center` | Aligns one cell | To put a line break inside a cell, use `<br>`. A table with merged cells, or with a list, code block, or another table inside a cell, can't be a pipe table. Write it as an HTML `<table>` instead. --- ## Images Images are standard Markdown. Add size or other attributes in braces straight after the image: ``` ![Settings page](https://example.com/settings.png){width="640"} ``` To add a caption or alignment, wrap the image in a `figure` marker. The line after the image is the caption: ``` [d360]: # 'figure align="center" width="640"' ![Diagram of the architecture](https://example.com/architecture.png) A high-level diagram of the system architecture. [d360]: # "/figure" ``` --- ## Video, embeds, PDFs, and files Each media element is a marker pair around a single link. Other Markdown viewers show the link, and Document360 shows the player. **Video** from a file, YouTube, Vimeo, or Wistia: ``` [d360]: # 'video src="https://www.youtube.com/watch?v=abc123" width="560" height="315"' [Watch the video](https://www.youtube.com/watch?v=abc123) [d360]: # "/video" ``` **Iframe** to embed a web page. The `src` must start with `https://` or `http://`: ``` [d360]: # 'iframe src="https://www.example.com/embed" width="640" height="360"' [Open the embedded page](https://www.example.com/embed) [d360]: # "/iframe" ``` **PDF**: ``` [d360]: # 'pdf src="https://example.com/manual.pdf" width="100%" height="600"' [manual.pdf](https://example.com/manual.pdf) [d360]: # "/pdf" ``` **File attachment**. `type` is the file extension without the dot, and `size` is in bytes. Both are optional: ``` [d360]: # 'file href="https://example.com/manual.pdf" name="User Manual.pdf" type="pdf"' [User Manual.pdf](https://example.com/manual.pdf) [d360]: # "/file" ``` To align a video, iframe, or PDF, add `placement` with `center`, `right`, `inline-left`, `inline-right`, or `inline-block`. Left is the default. --- ## Code blocks, diagrams, and math **Code block**: three backticks and the language. Add `lineNumbers` or `wordWrap` after the language: ``` ```javascript lineNumbers wordWrap console.log("hi"); ``` ``` **Mermaid diagram**: a code block with the language `mermaid`: ``` ```mermaid flowchart LR A --> B --> C ``` ``` **Math**: wrap inline math in single dollar signs, such as `$E = mc^2$`. For block math, put `$$` on its own line above and below the expression: ``` $$ \int_0^1 x^2 \, dx $$ ``` --- ## Layout **Page break** (no closing marker). Starts a new page in PDF export and print: ``` [d360]: # "page-break" ``` **Dashed or dotted divider**. A plain `---` on its own line is a solid divider: ``` [d360]: # 'divider style="dashed"' --- ``` **Alignment, indent, and line height**. Wrap the paragraphs they apply to: ``` [d360]: # 'aligned value="center"' Centered text. [d360]: # "/aligned" ``` | Marker | Attribute | Values | | --- | --- | --- | | `aligned` | `value` | `left`, `center`, `right`, `justify` | | `indent` | `level` | `1` to `10` | | `line-height` | `value` | A CSS line height, such as `1.5` | --- ## Private notes A private note is never shown on the knowledge base site. Make the first line bold to give it a title: ``` [d360]: # "private-note" **Review before launch** Confirm the pricing with the PM. [d360]: # "/private-note" ``` --- ## Snippets, variables, and glossary terms **Snippet** (no closing marker). Use the snippet's name: ``` [d360]: # 'snippet name="standardFooter"' ``` **Variable** and **glossary term**. Insert these from the **Insert variable** and **Glossary** options in Block view, then switch to Markdown view to see their syntax. Each is written as a `<span>` that names the variable or term, for example: ``` See SLA for the service level definition. ``` **Block glossary term** (no closing marker). Shows the term's full entry: ``` [d360]: # 'glossary name="SLA"' ``` --- ## What Markdown view rejects Some HTML is never published. If you type it in Markdown view, the **PROBLEMS** panel at the bottom of Markdown view lists it with an error code, and Block view shows a note that part of the block is removed when published: - `<script>` tags (error `DFM_REJECTED_HTML_TAG`) - Event handlers such as `onclick` - `javascript:` and `vbscript:` links - An iframe whose `src` doesn't start with `https://`, `http://`, or `//` An HTML tag that Document360 doesn't recognize, such as `<wistia-player>`, shows a `DFM_UNKNOWN_HTML_TAG` warning and isn't rendered. To embed a Wistia video, use the `video` marker or the Wistia iframe embed. --- ## Use this syntax with AI tools and the API The full DFM specification is published on your own portal at `https://<your portal domain>/dfm-spec.md`. It follows your portal's release, so it always matches the syntax your project accepts. Point an AI tool at this file when you ask it to write content for a unified Editor project. - **Document360 MCP server**: AI tools connected to the MCP server can read the specification with the `document360-mcp-get-dfm-spec` tool. When an MCP call leaves out the content type, the content is read as DFM. - **Customer API**: To send DFM for an article in a unified Editor project, set `content_type` to `markdown`. If you leave it out, the content is read as HTML. Content sent through the Customer API or MCP that contains anything in [What Markdown view rejects](/docs/markdown-view-syntax-reference#what-markdown-view-rejects) is refused, and nothing is saved. --- ## FAQ **Is Markdown view the same as the Markdown editor?** No. Markdown view is one of the two views of the unified Editor, and it uses the `[d360]` markers in this article. The Markdown editor is a separate editor in projects that use the Advanced WYSIWYG and Markdown editors, and it doesn't use these markers. See [Markdown editor and Markdown view](/help/docs/markdown-editor#markdown-editor-and-markdown-view). **Can I use [d360] markers in the Markdown editor?** No. `[d360]` markers work only in Markdown view in the unified Editor. In the Markdown editor, use its toolbar or the syntax in [Basic Markdown syntax](/help/docs/basic-markdown-syntax). **How do I write a callout in Markdown view?** For a Warning callout, type `> [!WARNING]` on the first line and the text on the next line, starting with `>`. `> [!NOTE]`, `> [!TIP]`, `> [!IMPORTANT]`, and `> [!CAUTION]` work the same way. For an Info, Success, or Error callout with a marker, put the text in a block quote between `[d360]: # 'callout kind="info"'` (or `success` or `error`) and `[d360]: # "/callout"`. See [Callouts](/docs/markdown-view-syntax-reference#callouts). **How do I write tabs in Markdown view?** Put one `<details>` element per tab, with the tab label in `<summary>`, between `[d360]: # "tabs"` and `[d360]: # "/tabs"`. See [Tabs](/docs/markdown-view-syntax-reference#tabs). **Why did a marker I typed disappear after I switched views?** The marker only set default values, so the unified Editor removed it when it saved the block. For example, an accordion has a border by default, so `[d360]: # 'accordion border="withBorder"'` is removed. The element still looks the same. **Why don't I see the markers when I view my article on GitHub?** Markers are written as Markdown link reference definitions, which GitHub and other Markdown viewers hide. The content between the markers still shows, so your article reads correctly there. **Why did my Markdown change after I switched views?** A block you don't edit is saved exactly as you wrote it. A block you edit in Block view is saved in the standard form shown in this article. For example, a short merge code you type is rewritten to its full form, and a marker is added to a renamed heading so its links keep working. **Where can I find the full DFM specification?** Open `/dfm-spec.md` on your Document360 portal domain. It lists every element and attribute, and a changelog for each release.