Supported Markdown features in the Space editor

Peerdraft supports standard GitHub-Flavored Markdown for headings, paragraphs, lists, bold/italic, code, links, images, and blockquotes. It also supports Obsidian-style blocks (the syntax used by the Obsidian note app), such as callouts, wiki links, note embeds, and frontmatter (metadata at the top of a document). This page shows the blocks Peerdraft’s Space web editor can render and how they look as live widgets.

Open a document in a Space to try these blocks. In the live editor, most blocks render as widgets when your cursor is outside the block. Move the cursor inside a block to see the raw Markdown and edit it.

For the steps to join and edit a shared note, see How to collaborate in your browser.

Feature overview

This reference describes the Space web editor. Sharing an Obsidian note does not install its plugins in the browser; plugin-specific views and commands are not implied by support for Markdown syntax.

FeatureSyntax or exampleBrowser behavior
Headings, lists, quotes, and text formatting# Heading, **bold**, *italic*, ~~removed~~Formatted text; Markdown markers appear while editing.
Task lists- [ ] Task, - [x] DoneCheckbox lists.
Highlights and tags==important==, #project/alphaHighlighted text and styled tags.
Links[label](https://example.com)Clickable links.
Wiki links[[Note]], [[Note#Heading]]Links to notes and headings in the same Space.
Images![label](url), ![[image.png]]Inline images, with optional dimensions.
Note embeds![[Note]], ![[Note#Heading]], ![[Note#^blockId]]Embedded content from a note in the same Space.
Callouts> [!NOTE]Callout cards, including titles and folding markers.
TablesPipe-separated rows and a header separatorRendered tables with column alignment.
Math$x$, $$...$$Inline and block equations.
FrontmatterMetadata between --- lines at the startA Properties panel.
Comments%%comment%%Folded comments that can be opened and edited.
CodeBackticks or fenced blocksCode text; fenced blocks have a Copy button.
HTMLFor example, <details> and <summary>Supported HTML renders; rejected HTML remains visible as source.

Callouts

Callouts are styled boxes that draw attention to part of a document. Use the standard Obsidian > [!TYPE] syntax. The screenshot below shows how they look in the live editor, with a colored outline, a label, and an icon.

> [!NOTE]
> Useful details.

> [!TIP]
> A useful tip.

> [!IMPORTANT]
> Read this first.

> [!WARNING]
> Something might break.

> [!CAUTION]
> Handle with care.

> [!TODO]
> Ship the feature.
> - 1
> - 2

Callouts rendered in Peerdraft

Choose how a callout opens

Add + after the callout type to start expanded, or - to start collapsed.

> [!TIP]+ Review steps
> Read the summary before opening the draft.

> [!NOTE]- Background
> The previous draft is in the archive.

Click the rendered header or focus it and press Enter or Space to fold or unfold it for your own view. To change the starting state for readers, edit the marker in Markdown. A callout with neither marker stays open.

Supported callout types

TypePurposeExample
!NOTEGeneral noteUseful details
!TIPHelpful suggestionA useful tip
!IMPORTANTHighlight key informationRead this first.
!WARNINGFlag potential issuesSomething might break.
!CAUTIONWarn about riskHandle with care.
!TODOTrack action itemsShip the feature.
!ABSTRACTSummaryOverview of the proposal
!INFOBackground informationAdditional context
!SUCCESSSuccessful outcomeChecks passed
!QUESTIONOpen questionWhich option should we choose?
!FAILUREFailed outcomeThe check failed
!DANGERCritical riskData could be lost
!BUGDefectUnexpected behavior
!EXAMPLEExampleA sample configuration
!QUOTEQuotationA cited passage

Types are case-insensitive. Supported aliases are summary and tldr for abstract; hint for tip; check and done for success; help and faq for question; attention for warning; fail and missing for failure; error for danger; and cite for quote.

You can also add other Markdown inside a callout, such as bullet lists. You can override the default title by adding text after the marker:

> [!WARNING] My title
> This warning uses a custom title.

Add + or - after the type for a collapsible callout: > [!NOTE]+ Details starts expanded, and > [!NOTE]- Details starts collapsed. Callouts can contain lists, tables, and nested callouts.

Tables

Use tables to organize information in rows and columns. Tables use GitHub-Flavored Markdown syntax, and Peerdraft renders them with styled headers and rows.

| Name | Role | Status |
| --- | --- | --- |
| Alice | Engineer | Active |
| Bob | Designer | Active |
| Carol | PM | Away |

Use colons in the separator row for alignment: :--- for left, :---: for center, and ---: for right. Wiki-link aliases such as [[Note|label]] are supported inside cells.

In Formatted view, click a cell to edit it. Tab moves to the next cell and adds a row if you are in the last cell. Shift+Tab moves back. Enter moves down in the same column or leaves the table from the last row.

To change the number of columns or paste several rows of Markdown, focus a cell and choose Edit table Markdown next to the table. Alt+F10 focuses that control while you are in the table. Choose Edit table visually to return to cells.

Table rendered in Peerdraft

Math

Use math to write equations. Type math between single dollar signs for inline math, or double dollar signs for a block of math. Peerdraft renders both.

Inline math: $E = mc^2$

$$
\int_0^\infty e^{-x^2} \, dx = \frac{\sqrt{\pi}}{2}
$$

Math rendered in Peerdraft

Note embeds

For step-by-step instructions, see How to embed a shared note.

You can embed content from another document in the same Space directly into the current document. Use Obsidian double-bracket syntax to embed a whole document, a heading from a document, or a specific block from a document.

A block reference points to a single paragraph or other block that has a block ID. To create a block ID, add ^blockId at the end of the target paragraph or block in the document you want to embed from. Then embed it with ![[Document Title#^blockId]].

The second example below points to the heading Mission Statement in the Project Overview document. The third example points to the block with ID block1 in the Project Overview document. Replace Project Overview with the document you want to embed from, Mission Statement with the heading you want, and ^block1 with the block ID in that document.

![[Project Overview]]
![[Project Overview#Mission Statement]]
![[Project Overview#^block1]]

A heading embed includes its subsections until the next heading of the same or a higher level. Use a heading path such as ![[Project Overview#Planning#Next steps]] to select a subsection within a particular parent heading.

The embedded note appears as a live widget. Click the widget body to edit the ![[...]] source, and click the small corner badge to open the source note.

Note embed rendered in Peerdraft

Frontmatter

You can add metadata, called frontmatter, at the top of a document. Frontmatter is written as key-value metadata and sits between two triple-dash lines (---). Peerdraft renders frontmatter as a Properties panel at the top of the document.

The panel starts collapsed, showing the number of properties. Click its header to expand or collapse it. Click the property content to edit the frontmatter source. A single value appears as text, a list of values appears as small labels, and a nested group of values can be expanded to show its contents.

---
title: Block Reference
status: draft
tags:
  - demo
  - markdown
---

Expanded Properties panel in the Space editor

In Peerdraft, a Space is a shared workspace that contains your documents. Obsidian-style [[...]] wiki links point to other files in the same Space. You can also change the displayed text with a pipe:

[[Project Overview|read this first]]

When inserting a link, type [[ and choose a matching file or alias from the suggestions. For the steps, see Insert a wiki link.

Click a resolved wiki link to open the note. Unresolved links are marked differently; clicking one offers to create the missing note. A note in your Obsidian vault must be included in the same shared Space for its contents to be available here.

Links can also target a heading: [[Project Overview#Mission Statement]]. To refer to a heading in the current note, use [[#Mission Statement]].

You can also insert images from files stored in the Space with double brackets and set how wide they appear. For example, the image ![[image.png|300]] displays at a width of 300 pixels. Set both width and height with ![[image.png|100x100]].

A wiki link to [[Project Overview]].
A wiki link with an alias: [[Project Overview|read this first]].

![[image.png|300]]

Wiki links and attachments rendered in Peerdraft

Images

Use images to add pictures to a document. Standard Markdown images are supported and can point to any URL. You can set the width, or both the width and height, in the alt text:

![Sample image](/documentation/peerdraft-placeholder.svg)
![Sample image|300](/documentation/peerdraft-placeholder.svg)
![Sample image|300x200](/documentation/peerdraft-placeholder.svg)

For images stored in the Space, use the ![[filename|width]] wiki-link attachment syntax.

Image rendered in Peerdraft

Common Markdown

Peerdraft also supports common Markdown and Obsidian-style text formatting: headings with #, headings with underline characters, paragraphs, bold, italic, inline code, ==highlights== for highlighted text, unordered and ordered lists, nested lists, blockquotes, code blocks set off with triple backticks, horizontal rules, strikethrough, task lists, and links.

The ==...== syntax is Obsidian-style, not part of the CommonMark standard. Tags such as #project/alpha are also styled in the editor.

The example below shows several common Markdown blocks together:

# Heading
## Subheading

A paragraph with **bold**, *italic*, `inline code`, and ==highlights==.

- Unordered item
  - Nested item
1. Ordered item

> A blockquote

---

Common Markdown blocks, including the frontmatter Properties panel

You can also write headings with underline characters. A line of === below text makes a level 1 heading; --- below text makes a level 2 heading. The live editor shows the text as a large, bold heading with an underline.

Heading
=======

Subheading
-----------

A --- line with a blank line above it is treated as a horizontal rule, not a heading with underline characters.

You can write a standard link as [label](url) or [label](url "title"):

[Visit Peerdraft](https://www.peerdraft.app "Peerdraft")

Strikethrough uses two tildes:

~~strikethrough~~

Task lists use a checkbox in a list item:

- [ ] A todo item
- [x] A completed item

Code blocks set off with triple backticks can include a language name after the opening triple backticks. The live editor shows a language label and a Copy button when the block is not being edited. Recognized language names enable syntax highlighting. The contents remain code: Markdown and Obsidian syntax inside a code block are not interpreted as links, comments, or embeds.

```python
def hello():
    print("Hello, Peerdraft!")
```

A horizontal rule is a line with three or more dashes, asterisks, or underscores:

---

Fenced code block with a language identifier and a horizontal rule

Comments

Use %%...%% for an inline comment, or put the opening and closing markers on separate lines for a block comment:

An agreed date. %%Please confirm the time.%%

%%
Feedback for collaborators.
This can span several lines.
%%

Comments start folded: an inline comment has a comment icon, and a block comment has a summary with its line count. Click the icon or summary to show or hide the text. Click the opened text to edit its source, including the %% markers.

Folded inline and block comments in the Space editor

Comments are shared content, not private annotations. Content inside a comment is shown as comment text rather than rendered as a callout, embed, or other Markdown block. Each reader can open or close comments independently.

Open inline and block comments in the Space editor

HTML

Supported inline and block HTML renders in the note. For example:

Press <kbd>Enter</kbd> to continue.

<details>
<summary>More information</summary>
Additional context for the reader.
</details>

HTML keyboard label and expanded disclosure in the Space editor

HTML is filtered before display. Scripts, event handlers, embedded frames, and custom elements are not supported; rejected HTML is displayed with an Unsupported HTML element message and editable source. Support for HTML does not include running JavaScript or Obsidian plugins.