<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd" -->

---
title: Djot PHP: A Modern Markup Parser – DerEuroMark | daily.dev
description: Djot is a lightweight markup language created by the author of CommonMark and Pandoc, designed to fix Markdown&#x27;s ambiguities with a more consistent and...
canonical: https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Djot PHP: A Modern Markup Parser – DerEuroMark | daily.dev
og:description: Djot is a lightweight markup language created by the author of CommonMark and Pandoc, designed to fix Markdown&#x27;s ambiguities with a more consistent and...
og:url: https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd
og:image: https://api.daily.dev/og/posts/VIAgaUMkD.png
og:image:alt: Djot PHP: A Modern Markup Parser – DerEuroMark
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Djot PHP: A Modern Markup Parser – DerEuroMark

**[DerEuroMark](https://daily.dev/sources/dereuromark)** · 16 min read · 0 upvotes · 0 comments

## Summary

Djot is a lightweight markup language created by the author of CommonMark and Pandoc, designed to fix Markdown's ambiguities with a more consistent and predictable syntax. The php-collective/djot PHP library brings full Djot support to PHP 8.2+ with 100% compatibility with the official test suite. Key features include rich text formatting (highlight, insert, delete, super/subscript), smart typography, task lists, divs with classes, span attributes, and an AST-based architecture. The library offers an extension system with built-in extensions for autolinks, TOC, external links, and heading permalinks, plus a Profile system for restricting markup features per context (e.g., comment sections vs. blog posts). Performance benchmarks show djot-php processes ~2.6 MB/s, faster than league/commonmark but slower than simpler regex-based parsers like Parsedown. A WordPress plugin and IntelliJ IDE plugin are also available. Migration tools support importing from Markdown, HTML, and BBCode.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.dereuromark.de/2025/12/09/djot-php-a-modern-markup-parser/>

---

Tags: [#php](https://daily.dev/tags/php), [#markdown](https://daily.dev/tags/markdown)

[View this post on daily.dev](https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Djot PHP: A Modern Markup Parser – DerEuroMark","url":"https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd"},"datePublished":"2026-03-08T09:27:05.350Z","dateModified":"2026-03-08T09:27:32.606Z","description":"Djot is a lightweight markup language created by the author of CommonMark and Pandoc, designed to fix Markdown's ambiguities with a more consistent and...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"DerEuroMark","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DerEuroMark","logo":"https://media.daily.dev/image/upload/s--OwbYUam1--/f_auto,q_auto/v1772962015/logos/dereuromark","url":"https://daily.dev/sources/dereuromark"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/djot-php-a-modern-markup-parser-dereuromark-viagaumkd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"php,markdown","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DerEuroMark","item":"https://daily.dev/sources/dereuromark"},{"@type":"ListItem","position":3,"name":"Djot PHP: A Modern Markup Parser – DerEuroMark"}]}
```

