# Markdown, HTML and chat dialects

> Untrusted Markdown, HTML and nine chat dialects through @texuli/core. In development, released in 0.18.0.

Language: en
Canonical: https://texuli.com/markdown/
Markdown: https://texuli.com/markdown.md (this page). Every texuli.com page has a Markdown twin at its URL plus `.md` (the home page is https://texuli.com/index.md), and any page URL answers `Accept: text/markdown` with its twin instead of HTML.
Last Updated: 2026-11-13

---

Documentation menu

Documentation

Untrusted Markdown, HTML and nine chat dialects through @texuli/core. In development, released in 0.18.0.

 ![Open pearl guide booklets with skeleton lines beside cubes stacked like steps](https://texuli.com/_astro/page-guides.CSZXXZEX.webp)

Texuli reads untrusted Markdown and HTML into one AST, writes a safe HTML fragment, and converts chat dialects without raising trust. The stack lives in `@texuli/core`; these subpaths were released in `0.18.0`.

## Status

In development (pre-1.0), released in `0.18.0`. Agents should call `md.convert` and `md.render` rather than import the texels, unless they are writing app code.

The overview for app authors is the [core Markdown README](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/markdown.md).

## Subpaths

- `@texuli/core/markdown` Parse GitHub Flavored Markdown or strict CommonMark 0.31.2 into the texuli-md/v1 AST, and write it back.[Package docs](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/core-markdown.md)
- `@texuli/core/markdown-html` Write the AST as a safe HTML fragment through core/markup. Raw HTML is dropped; every href and src uses the URL policy.[Package docs](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/core-markdown-html.md)
- `@texuli/core/html` Read untrusted HTML into the AST with a DOM-free tokenizer and an element and attribute allowlist.[Package docs](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/core-html.md)
- `@texuli/core/markdown-dialects` Convert the AST to and from Slack, Discord, WhatsApp, Telegram, Teams, Google Chat, Mattermost and plain text, with loss diagnostics.[Package docs](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/core-markdown-dialects.md)

## Agents

`md.convert` and `md.render` are edge operations on the local MCP (`npx -y @texuli/mcp`), the remote [Texuli MCP](https://texuli.com/mcp-server/), and `texuli md convert` / `texuli md render`. Related Solutions: [Agent chat](https://texuli.com/solutions/agent-chat/) and [Rich text editor](https://texuli.com/solutions/editor/).

## For agents

This page lists the Markdown, HTML and chat-dialect subpaths. Convert and render through the MCP rather than importing the texels unless you are writing app code. The live parts run in the browser and are not in this Markdown; the operations below do the same work through the read-only MCP server at https://texuli.com/mcp (no sign-in; see https://texuli.com/auth.md).

MCP operations ([reference](https://github.com/DailybotHQ/texuli/blob/main/packages/tools/docs/ops.md#operations)):

- `md.convert`: Convert Markdown, HTML or a chat dialect.
- `md.render`: Render Markdown to safe HTML.

Docs:

- [core Markdown README](https://github.com/DailybotHQ/texuli/blob/main/packages/core/docs/markdown.md)
- [@texuli/core README](https://github.com/DailybotHQ/texuli/blob/main/packages/core/README.md)
- [@texuli/tools README](https://github.com/DailybotHQ/texuli/blob/main/packages/tools/README.md)
