Skip to content

Markdown Formatting

Flow-Like's rich-text editor and read-only Markdown renderer support standard Markdown plus several Flow-Like code-block extensions. Individual product surfaces can choose which editor controls they expose.

Flow-Like's Markdown playground rendering a dark-mode Plotly chart from editable Markdown source


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

| Syntax | Result | |--------|--------| | **bold** | bold | | *italic* | italic | | ~~strikethrough~~ | ~~strikethrough~~ | | ***bold italic*** | bold italic | | `inline code` | inline code |


- Item one
- Item two
- Nested item
- Another nested item
- Item three
1. First item
2. Second item
1. Nested numbered
2. Another nested
3. Third item
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task

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

Use backticks for inline code: `const x = 42`

Use triple backticks with an optional language identifier for syntax highlighting:

```javascript
function greet(name) {
return `Hello, ${name}!`;
}
```

Supported languages include: javascript, typescript, python, rust, json, html, css, bash, sql, and many more.


| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Left | Center | Right |
|:-----|:------:|------:|
| L | C | R |

> This is a blockquote
> It can span multiple lines
> Nested blockquotes
>> Are also supported

---

or

***

Flow-Like extends standard markdown with interactive chart support using nivo and plotly code blocks. Charts can be defined using CSV data or native JSON configuration.

The simplest way to create charts is with CSV data and an optional configuration header:

```nivo
type: bar
title: Sales by Quarter
colors: paired
---
quarter,sales,profit
Q1,150,45
Q2,230,67
Q3,180,52
Q4,290,84
```

| Option | Description | Values | |--------|-------------|--------| | type | Chart type | bar, line, pie, radar, heatmap, scatter, funnel, treemap, sunburst, sankey, stream, waffle, radialBar, chord, calendar, bump, areaBump | | title | Chart title | Any string | | xLabel | X-axis label | Any string | | yLabel | Y-axis label | Any string | | colors | Nivo color scheme | nivo, paired, category10, accent, dark2, set1, set2, set3, pastel1, pastel2, spectral, or array of hex colors | | height | Chart height in pixels | Number (default: 350) | | showLegend | Show/hide legend | true, false | | legendPosition | Legend placement | top, bottom, left, right | | stacked | Stack bar series | true, false | | layout | Bar orientation | vertical, horizontal | | animate | Enable Nivo animation | true, false |

The configuration header is a deliberately small key: value parser, not full YAML. CSV parsing is intended for simple examples and does not implement quoted cells containing commas; use JSON mode when the data requires those features.

```nivo
type: bar
title: Monthly Revenue
colors: paired
---
month,revenue,expenses
Jan,4500,3200
Feb,5200,3800
Mar,4800,3100
Apr,6100,4200
```
```plotly
type: bar
title: Quarterly Results
---
quarter,revenue,costs
Q1,120,80
Q2,150,95
Q3,180,110
Q4,210,130
```

For advanced customization, use native Plotly or Nivo JSON configuration:

```plotly
{
"data": [
{
"x": ["Jan", "Feb", "Mar", "Apr"],
"y": [10, 15, 13, 17],
"type": "scatter",
"mode": "lines+markers",
"name": "Series A"
},
{
"x": ["Jan", "Feb", "Mar", "Apr"],
"y": [8, 12, 9, 14],
"type": "scatter",
"mode": "lines+markers",
"name": "Series B"
}
],
"layout": {
"title": "Multi-Series Line Chart",
"xaxis": { "title": "Month" },
"yaxis": { "title": "Value" }
}
}
```

When no type is specified in CSV mode, the chart type is automatically detected based on your data:

| Data pattern | Detected type | | --- | --- | | Two columns, numeric values, and no more than six rows | Pie chart | | Two columns with more than six rows | Bar chart | | Three or more columns with month, quarter, or year-like labels | Line chart | | Other tabular data | Bar chart |


Use Semantic Headings

Structure your content with proper heading hierarchy (h1 → h2 → h3).

Keep Tables Simple

For complex data, consider using charts instead of large tables.

Choose the Right Chart

Use bar charts for comparisons, line charts for trends, pie charts for proportions.


Test all markdown features interactively:

Open Markdown Playground →

The playground provides:

  • Live side-by-side editing and preview
  • Pre-built examples for all chart types
  • Instant rendering of your markdown