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
SyntaxResult
**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 |

Chat tables preserve column alignment, links, emphasis, and inline code. Search, filters, sorting, column controls, wrapping, copy, and CSV export remain available in the table toolbar.


Galleries, Recommendations, and Comparisons

Section titled “Galleries, Recommendations, and Comparisons”

Use these fenced JSON blocks when pictures, ranked options, or a shared numeric scale make an answer easier to read. They render in chat and the Markdown preview.

A gallery block displays images with optional captions, credits, and links. Replace the example URLs with actual image URLs and describe each image in alt.

```gallery
{
"title": "Vehicle views",
"items": [
{"src": "https://example.com/front.jpg", "alt": "Front of the vehicle", "caption": "Front view", "credit": "Dealer photos"},
{"src": "https://example.com/interior.jpg", "alt": "Dashboard and front seats", "caption": "Interior", "href": "https://example.com/listing"}
]
}
```

Each item requires src and alt. The block’s title and each item’s caption, credit, and href are optional. An unavailable or rejected image shows an alt-text placeholder.

A recommendations block numbers options in the order supplied. Use prose around the block to explain the ranking criteria and cite supporting evidence.

```recommendations
{
"title": "Shortlist",
"items": [
{
"title": "Option A",
"subtitle": "For frequent travel",
"badge": "First choice",
"description": "More room for luggage.",
"specs": [{"label": "Seats", "value": "5"}],
"href": "https://example.com/option-a"
},
{"title": "Option B", "description": "A smaller alternative for city trips."}
]
}
```

Only each item’s title is required. Optional item fields are subtitle, badge, description, href, specs (an array of label and value strings), and image (an object with src, alt, and optional caption, credit, and href). The block’s title is optional.

A comparison block shows values against one shared maximum. Use it for a compact comparison; use nivo or plotly when you need axes, multiple series, or interactive chart controls.

```comparison
{
"title": "Illustrative luggage space",
"description": "Example values on the same 600-litre scale.",
"max": 600,
"unit": "L",
"items": [
{"label": "Option A", "value": 520, "detail": "Rear seats upright"},
{"label": "Option B", "value": 430}
]
}
```

max must be a finite positive number. Each item requires a label and a finite numeric value between zero and max; valueLabel and detail are optional. The block’s title, description, and unit are optional. For qualitative ratings, explain the scale and that the ratings are subjective in description. For example, use max: 5 and an item with value: 4 and valueLabel: "Very good".

All three blocks require a non-empty items array and valid JSON without comments or trailing commas. String fields are plain text; put Markdown formatting and source citations in the surrounding response. Use known image and link URLs.

During streaming, a placeholder appears until enough complete fields are available. Validated items then appear progressively; unfinished strings and numbers stay hidden. Put max before comparison items, and chart type/configuration before chart data, so the preview can begin sooner. Use View source to inspect the JSON and Show preview to return. Close the fence before continuing with prose. Invalid payloads that remain after streaming ends fall back to source.


> 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
```
OptionDescriptionValues
typeChart typebar, line, pie, radar, heatmap, scatter, funnel, treemap, sunburst, sankey, stream, waffle, radialBar, chord, calendar, bump, areaBump
titleChart titleAny string
xLabelX-axis labelAny string
yLabelY-axis labelAny string
colorsNivo color schemenivo, paired, category10, accent, dark2, set1, set2, set3, pastel1, pastel2, spectral, or array of hex colors
heightChart height in pixelsNumber (default: 350)
showLegendShow/hide legendtrue, false
legendPositionLegend placementtop, bottom, left, right
stackedStack bar seriestrue, false
layoutBar orientationvertical, horizontal
animateEnable Nivo animationtrue, 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 patternDetected type
Two columns, numeric values, and no more than six rowsPie chart
Two columns with more than six rowsBar chart
Three or more columns with month, quarter, or year-like labelsLine chart
Other tabular dataBar 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