Supported Markdown
This page is for everyone who writes on a request: a description, a reply or, for the staff, an internal note. It lists what Markdown turns into formatting, what always stays plain text, the mention picker, code highlighting and the editor’s toolbar and shortcuts. A walk through the editor is in Writing replies.
Every text is Markdown: CommonMark with the common GitHub additions (tables, strikethrough, lists of things to do, links that make themselves). Nobody chooses a format. The text is read on the server, and what you type is shown, never run: nothing you write becomes HTML. Request titles are plain text.
What renders
Section titled “What renders”| Element | How to write it | Notes |
|---|---|---|
| Paragraph | A blank line between paragraphs | A single line break inside a paragraph is kept as a line break. |
| Heading | #, ##, ### and so on, up to six # |
The text’s highest heading is shown just below the heading of the card it is in, however many # it was written with, and the others follow in order. A heading is one line. |
| Bold | **bold** |
|
| Italic | *italic* or _italic_ |
|
| Strikethrough | ~~crossed out~~ |
|
| Bulleted list | - or * at the start of a line |
Lists can be nested. |
| Numbered list | 1. at the start of a line |
The number the list starts at is kept. Only a number of one to nine digits starts a list: a letter or a Roman numeral, such as a. Introduction, stays text, and a lettered list pasted from a document is numbered. |
| List of things to do | - [ ] and - [x] |
Shown as an open or a ticked box with the words “To do:” or “Done:” for screen readers. Readers can’t tick them: the box is a mark, not a form control. A box with nothing after it stays text, such as “[ ]”. |
| Quotation | > at the start of a line |
|
| Code in a sentence | `code` |
|
| Block of code | Three backticks on their own line, the language, the code, three backticks | Keeps its spacing. Highlighted when it names a language we know: see Code. |
| Table | Rows with |, and a row of --- under the header |
Columns can be left, centred or right aligned with colons. A table wider than the text scrolls sideways, and the keyboard can reach it. The editor can’t build a table from scratch, but a pasted one stays a table. A cell is one line: a line break or a second paragraph pasted into one becomes a space. A pasted cell that spans columns or rows is split into one cell for each, with its text in the first, as Markdown has no such cells. The first row is always the header: a pasted table’s header cells further down become ordinary cells, and a table pasted without header cells gets its first row as the header. |
| Link | [text](https://adiutor.dev) |
Only a whole address that starts with http:// or https:// links, and never one with a user name or password before its host. It opens in a new tab. |
| Address written out | https://adiutor.dev, <https://adiutor.dev> or www.adiutor.dev |
Links by itself, also while you type: www.adiutor.dev links to http://www.adiutor.dev, and so does a name that isn’t a public domain, such as www.intranet. An email address stays text. |
| Horizontal rule | --- on its own line |
|
| Footnote | [^1] and a line [^1]: the note |
Shown as numbered references with the notes at the end, under a hidden “Footnotes” heading. The editor doesn’t write footnotes: typed or pasted in it, one is sent as plain text. Only a text sent from the plain box, when the editor couldn’t load, can hold one. |
| Mention | @ and a name from the picker |
See Mentions. |
What stays plain text
Section titled “What stays plain text”| What you write | What readers see |
|---|---|
HTML, such as <b>bold</b> |
The tags as you typed them. Nothing is turned into an element. |
An image,  |
A link named by its description, “Screenshot of the error (image)”, to the image’s address when that is a whole http or https address, and never loaded. Without a description it reads “Image”. To show a picture, attach it as a file: see Files. |
A link that isn’t a whole http or https address, such as javascript:, mailto: or adiutor.dev |
The link’s text, without a link. |
An address with a user name or password before its host, such as https://[email protected] or www.user:[email protected] |
The text, without a link: such an address names one site and goes to another. Behind a link’s text, only the text shows. |
| A link to one of the staff’s pages, in a text the company reads | The link’s text. An image of such a page shows its description. The editor keeps such a link as its text, and its Link dialog refuses it with “The company reads this text, so it can’t link to a page for the staff.” Internal notes and internal requests, which only the staff read, keep them. |
A text that would cost too much to format: nested more than 100 levels deep, or with more than 2,500 runs of * or _ |
The whole text as plain text. |
A text is at most 10,000 characters. Over that, the editor says “This text is longer than 10,000 characters. Shorten it before you send it.”
Texts written before Markdown existed in Adiutor are shown as plain text with line breaks kept and addresses written with http:// or https:// turned into links.
Mentions
Section titled “Mentions”Type @ at the start of a line or after a space. A list called People to mention opens at the cursor. An @ inside an email address or in code opens nothing.
| What | How it works |
|---|---|
| Narrowing | What you type after the @ narrows the list, ignoring case and accents, and names may contain spaces. It shows up to eight people, names that start with what you typed first. |
| Picking | The arrow keys move through the list, around at its ends; Enter or a click mentions the person. Escape or a click elsewhere closes the list and leaves what you typed as text. |
| Nobody matches | One word that is nobody’s name shows “Nobody by that name”. Once what you typed contains a space and is nobody’s name, the list closes by itself, so “meet @ 5 pm” is just text. |
| Loading | While the people are fetched the list says “Loading…”, and if it can’t it says “Couldn’t load the list”. |
| In the text | A mention is one piece: the name after an “@”, deleted as a whole. |
| Limits | A text mentions at most 20 people; any more stay plain text. You can’t mention yourself or a deactivated account. |
Who can be mentioned. For the staff: everyone at the request’s company and every staff member who reads requests. For someone at a company: their colleagues, and the staff members the request already shows them (whoever raised it or raised it for someone, replied, changed it, or is or was assigned). On a new request, colleagues only. A mention of someone at the company in an internal note is never shown to them.
What a mention does. The person is subscribed to the request and emailed about the text with a line saying they were mentioned, except in an internal note, which never subscribes or emails anyone at the company. If an edit adds a mention, the new person is told. Readers see the person’s name after an “@”, set apart with a line, and more clearly when it is them. For the staff the name links to the user’s page. People are shown by name only, never by email address. See Emails about requests.
A mention you copy from a request into a new text stays a mention, if you may write there and may mention that person. It is checked again when the text is sent.
A block of code that names its language is highlighted, and shows the language’s name above it. A language is never guessed: a block without a language, or in a language not on this list, is shown without colours. The usual short names work too (ts for TypeScript, sh for Bash).
The languages are: Apache config, Arduino, Bash (sh), C, C#, C++, CSS, Diff, Dockerfile, Go, GraphQL, HTML and XML (html, xml), HTTP, Java, JavaScript (js), JSON, Kotlin, Less, Lua, Makefile, Markdown (md), Nginx config, Objective-C, Perl, PHP, PHP template (php-template), Plain text (txt), PowerShell (ps1), .properties, Python (py), Python REPL (python-repl, pycon), R, Ruby (rb), Rust (rs), SCSS, Shell Session (console), SQL, Swift, TOML and INI (toml, ini), TypeScript (ts), Visual Basic .NET, WebAssembly, YAML (yml).
- Copy code. Every block has a Copy code button before the code. It copies the code as written, without the line break at its end, so a pasted command does not run by itself. For most languages the copy starts with a comment naming the request’s address, who wrote the text and when, so the code can be traced once it sits in a file. Where a comment can’t go or could break what’s pasted, such as JSON, plain text, Markdown, a diff, an HTTP message, PHP, a shell or Python session, or a block without a language we know, the code is copied alone. Selecting the code by hand copies it without a note.
- Loaded when needed. The editor and the code languages load only when a page needs them, so a page without code never downloads the languages.
- In the editor. Code is coloured while you write it. While the cursor is in a block, a menu after Block of code in the toolbar picks its language, or No language.
The editor
Section titled “The editor”Until the editor has loaded you see a plain text box. You can already type Markdown in it, and the editor then reads it. If the editor can’t load, the plain box stays and still sends Markdown.
Toolbar
Section titled “Toolbar”The toolbar, Formatting, is one stop for the Tab key; the arrow keys move between its buttons. A button that switches something says whether it is on.
| Button | What it does |
|---|---|
| Bold, Italic, Strikethrough, Code | Formats the selected text. |
| Link | Opens a dialog with Web address, Save link and Remove link. The selected text becomes the link; without a selection, the address itself is added. Only a whole http:// or https:// address is accepted; otherwise it says “Enter a whole web address that starts with http:// or https://.” An address with a user name or password is refused with “Remove the user name and password from the address: a link can’t include them.” |
| Heading | A menu: Normal text, Heading, Subheading, Small heading. |
| Bullet list, Numbered list, List of things to do | Starts a list. |
| Nest the list item, Lift the list item | Moves the item one level in or out. |
| Quotation | Quotes the paragraph. |
| Block of code | Starts a block. A language menu appears while the cursor is in it. |
| Large view | Opens the same editor in a larger window; the button again or Escape brings it back. |
Typing Markdown
Section titled “Typing Markdown”Markdown becomes formatting as you type it: **bold**, # , - , 1. , > , [ ] or [x] at the start of a line, three backticks and a language, ---. Typed after - , [ ] stays text in a bullet list. In a table cell, which is one line, these line starts stay text. Plain text pasted into the editor is read as Markdown too. Text inserted in one go without a paste, such as dictation, stays as typed.
Shortcuts
Section titled “Shortcuts”Ctrl is Cmd on a Mac.
| Keys | What it does |
|---|---|
Ctrl+B, Ctrl+I |
Bold, italic. |
Ctrl+Shift+S |
Strikethrough. |
Ctrl+E |
Code in a sentence. |
Ctrl+Alt+0 |
Normal text. |
Ctrl+Alt+1 to 6 |
A heading of that level: 1 a heading, 2 a subheading, 3 to 6 smaller ones. |
Ctrl+Shift+7, Ctrl+Shift+8, Ctrl+Shift+9 |
Numbered list, bullet list, list of things to do. |
Ctrl+Shift+B |
Quotation. |
Ctrl+Alt+C |
Block of code. |
Ctrl+], Ctrl+[ |
Nest, lift the list item. |
Shift+Enter or Ctrl+Enter |
A line break inside the paragraph. A heading and a table cell are one line, so it does nothing there, and neither does Enter in a table cell. |
Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y |
Undo, redo. |
Tab and Shift+Tab never get stuck in the text, also in a list or a table: they move to the next or previous control. Other keys are on Keyboard use.
Pasting
Section titled “Pasting”- Pasting formatted text, from the editor or from a request, keeps the formatting by the same rules: a pasted link stays a link only for a whole
httporhttpsaddress, and nothing pasted loads. Mentions and images stay what they are, and a block of code pastes as its code alone, without its caption or Copy code button. Bold you copied from elsewhere stays bold. - Pasting plain text is read as Markdown.
Editing afterwards
Section titled “Editing afterwards”Until a request is closed, Admins and Clients at its company and the staff who work on requests can edit its description and their own replies, and the staff their own internal notes. Press the pencil, Edit description, Edit reply or Edit note, change the text in the same editor, and press Save or Cancel. A saved text shows “Edited”, with when on hover. The staff can see what it said before; company users can’t. Editing adds nothing to the conversation and doesn’t move the request’s last activity. If someone else changed the text while you were editing, the save is refused and you see the current text. Details and who can edit what: Writing replies.
Related
Section titled “Related”Adiutor's code is released under the MIT License. The Adiutor name and logo aren’t covered by it; see the notice.
Set in Inter and JetBrains Mono, under the SIL Open Font License (Inter, JetBrains Mono).