Markdown Syntax

Markdown Syntax

Textox supports standard Markdown syntax along with various extensions, providing a WYSIWYG editing experience. You can enable or disable certain extended syntax features in Settings > Markdown Syntax.

Basic Syntax

Headings

Use # to mark headings, supporting levels 1-6:

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Text Styles

**Bold**
*Italic*
~~Strikethrough~~
==Highlight==
`Inline code`
<u>Underline</u>
^Superscript~Subscript^

Lists

- Unordered item
- Unordered item
  - Nested item

1. Ordered item
2. Ordered item

Links and Images

[Link text](https://example.com)
![Image description](image.png)

Blockquotes

> This is a blockquote
> Multiple lines

Code Blocks

```javascript
console.log('Hello World');
```

Tables

| Column 1 | Column 2 |
|----------|----------|
| A        | B        |

Horizontal Rule

---

Extended Syntax

GFM Alerts (toggleable)

GitHub Flavored Markdown-style alert blockquotes with five types:

> [!note]
> This is a note

> [!tip]
> This is a tip

> [!warning]
> This is a warning

> [!important]
> This is important

> [!caution]
> This is a caution

Each type has distinct color coding: Note (gray), Tip (green), Warning (yellow), Important (purple), Caution (red).

This feature can be disabled in Settings > Markdown Syntax.

Task Lists

- [ ] Incomplete task
- [x] Completed task

Footnotes

This text has a footnote[^1].

[^1]: This is the footnote content.

Math Formulas (LaTeX)

Inline math with $:

Mass-energy equivalence: $E = mc^2$

Display math with $$:

$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Mermaid Diagrams

```mermaid
graph TD
    A[Start] --> B[End]
```

Auto-links (bare URLs)

Copy or type a bare URL (e.g., https://example.com) and Textox will automatically convert it into a clickable link.

Inline HTML (toggleable)

Use HTML tags directly in your document:

<kbd>Ctrl</kbd> + <kbd>C</kbd>
<mark>Highlighted text</mark>

This feature is enabled by default and can be disabled in Settings > Markdown Syntax.

HTML Comments (toggleable)

<!-- This is a comment and will not be rendered -->

This feature is enabled by default and can be disabled in Settings > Markdown Syntax.

Emoji Shortcuts

Type : followed by keywords to search and insert emoji:

:smile: → 😄
:rocket: → 🚀

Table of Contents

Insert [TOC] to auto-generate a table of contents for your document.

Reference Definition

[link]: https://example.com "Title"

For a complete list of keyboard shortcuts, see the Keyboard Shortcuts reference.