Product Updates

DatoCMS changelog for new features and general improvements
CLI Content Delivery API New

Introducing datocms/structured-text-to-markdown

October 2nd, 2025

You can now turn Structured Text fields back into Markdown with our new datocms/structured-text-to-markdown package. Perfect if you need clean Markdown output for your pipelines, exports, or tooling (or just a clean .md page for all the LLMs 🤭).

Just a lil

Terminal window
npm install datocms/structured-text-to-markdown

and you're set!

The renderer supports all DatoCMS Structured Text nodes and converts them to CommonMark-compatible Markdown:

Block Nodes

  • Headings# H1 through ###### H6

  • Paragraphs: Plain text with double newlines

  • Lists: Both unordered (-) and ordered (1.) lists with nested support

  • Blockquotes: Lines prefixed with >

  • Code blocks: Fenced code blocks with language support

  • Thematic breaks: Horizontal rules (---)

Inline Formatting

  • Strong**bold**

  • Emphasis*italic*

  • Code`code`

  • Strikethrough~~text~~

  • Highlight==text== (extended Markdown)

  • Underline<u>text</u> (HTML fallback, no native Markdown)

Links

  • Regular links[text](url)

  • Record links: Custom rendering via renderLinkToRecord

Full deets on the package and advanced usage are on the README.

Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480