X Articles code block, table and divider: how to add them from Markdown
Updated September 2026 · Tested against the current X Articles editor
X Articles is the long-form editor that comes with X Premium. It handles headings, bold, italic, links, lists, quotes and images. It does not have a table button, and its code block and divider support only work when the content arrives in exactly the shape the editor expects. If you write in Markdown, this page shows what happens by default and the three ways to get the formatting you want.
What happens to an X Articles code block when you paste Markdown
Pasting plain Markdown text into the editor gives you plain text. Nothing is interpreted:
```js … ```fences stay as literal backticks in a normal paragraph. The gray monospace box never appears.| a | b |tables collapse into a single line of pipes and dashes.---becomes three hyphens, not a horizontal rule.stays as text. The image is not fetched.
Google's own "People also ask" box for this topic has the question "Does X support Markdown?" and the honest answer is: not on paste. The editor works on rich HTML in the clipboard, so the Markdown has to be converted before it lands.
Option 1: Format by hand inside the editor
Works for short posts. Type a line, select it, and use the toolbar's code style. Dividers can be inserted from the "+" menu on an empty line. Tables have no equivalent, so the usual workaround is a screenshot of the table pasted as an image.
Cost: a few minutes per code block, and every edit to a table means a new screenshot. For a 3,000-word technical post this is where most people give up.
Option 2: Convert Markdown to rich text first, then paste
Web converters like MD2X render your Markdown to HTML and put it on the clipboard. Pasting that HTML gets you headings, lists and inline code. The limits:
- Code blocks usually come through as pre-formatted text that X flattens, so converters turn them into images instead.
- Images cannot be uploaded from a web page into your X draft. Remote image URLs stay as links, local images have to be dragged in one by one afterwards.
- Tweet URLs stay as plain links rather than embedded cards.
Option 3: Get a native X Articles code block with a Chrome extension
X Article Markdown Paste runs on x.com/compose/articles and intercepts Ctrl+V. Instead of handing the editor raw text, it builds the exact block structure X uses internally, then walks the editor's own image upload path for anything that needs media. In practice:
- Code blocks with a language tag become the native X Articles code block: monospace, gray background, preserved indentation.
- Tables are rendered to a HiDPI PNG and inserted inline at the right position, since X has no table element. Column alignment and header rows are kept.
- Dividers (
---) become the real horizontal rule. - Images from remote URLs are fetched and uploaded through X's media pipeline. Local paths resolve from a folder you authorize once.
- Tweet links on their own line become embedded cards.
The flow is three steps: write in Obsidian, Notion, Typora or VS Code, copy everything, press Ctrl+V in the X editor. A progress bar shows uploads, and the draft stays a normal X draft you can still edit before publishing.
A minimal test document
Paste this into the editor with the extension enabled and you should see one code block, one table image, one divider and one embedded tweet:
# Formatting test
Inline `code` and **bold** text.
```python
def hello():
return "X Articles"
```
| Feature | Native X | With extension |
| --- | --- | --- |
| Code block | manual | automatic |
| Table | none | image |
---
https://x.com/icycat/status/1
Known limits
- X allows at most 25 images per article, and a table counts as one image. Long posts with many tables hit that ceiling.
- Syntax highlighting is not part of the X Articles code block. You get monospace and a gray box, not colors.
- Nested tables and merged cells are rendered as-is in the image; X cannot make them interactive.
- When X changes the editor internals the extension can break for a day or two. Fixes ship as normal Chrome updates.
Free tier covers headings, lists, code blocks and dividers with up to 3 images and 1 table per paste. Pro lifts the limits.