{"id":36942111,"url":"https://github.com/php-collective/wp-djot","last_synced_at":"2026-05-27T18:01:10.833Z","repository":{"id":328872406,"uuid":"1106821334","full_name":"php-collective/wp-djot","owner":"php-collective","description":"Djot markup for WordPress  – a modern, cleaner alternative to Markdown with syntax highlighting","archived":false,"fork":false,"pushed_at":"2026-05-21T03:08:56.000Z","size":506,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T09:14:50.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-collective.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T02:18:09.000Z","updated_at":"2026-05-21T02:49:26.000Z","dependencies_parsed_at":"2026-03-03T20:01:12.960Z","dependency_job_id":null,"html_url":"https://github.com/php-collective/wp-djot","commit_stats":null,"previous_names":["php-collective/wp-djot"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/php-collective/wp-djot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fwp-djot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fwp-djot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fwp-djot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fwp-djot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-collective","download_url":"https://codeload.github.com/php-collective/wp-djot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fwp-djot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33577636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-13T10:59:20.097Z","updated_at":"2026-05-27T18:01:10.794Z","avatar_url":"https://github.com/php-collective.png","language":"JavaScript","funding_links":[],"categories":["CMS Integration"],"sub_categories":["Djot → HTML → Djot"],"readme":"# Djot Markup for WordPress\n\n[![CI](https://github.com/php-collective/wp-djot/actions/workflows/ci.yml/badge.svg)](https://github.com/php-collective/wp-djot/actions/workflows/ci.yml)\n[![WordPress Plugin Version](https://img.shields.io/wordpress/plugin/v/djot-markup)](https://wordpress.org/plugins/djot-markup/)\n[![WordPress Plugin Downloads](https://img.shields.io/wordpress/plugin/dt/djot-markup)](https://wordpress.org/plugins/djot-markup/)\n[![WordPress Plugin Rating](https://img.shields.io/wordpress/plugin/stars/djot-markup)](https://wordpress.org/plugins/djot-markup/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![PHP 8.2+](https://img.shields.io/badge/PHP-8.2%2B-purple.svg)](https://php.net)\n[![WordPress 6.0+](https://img.shields.io/badge/WordPress-6.0%2B-blue.svg)](https://wordpress.org)\n\nA WordPress plugin for [Djot](https://djot.net/) markup language support. \nConvert Djot syntax to HTML in posts, pages, and comments.\n\n## What is Djot?\n\nDjot is a light markup syntax created by John MacFarlane (creator of CommonMark and Pandoc). It aims to be a successor to Markdown with cleaner syntax and more consistent parsing rules.\n\n[![Watch the demo video](https://img.youtube.com/vi/z0Nsjzp0gnw/mqdefault.jpg)](https://www.youtube.com/watch?v=z0Nsjzp0gnw)\n\n## Features\n\n- **Full Djot Support**: Headings, emphasis, links, images, code blocks, tables, footnotes, and more\n- **Block Editor Support**: Native Gutenberg block for writing Djot with live preview\n- **Shortcode Support**: Use `[djot]...[/djot]` in your content\n- **Table of Contents**: Automatic TOC generation from headings with configurable levels and position\n- **Heading Permalinks**: Clickable `#` symbols on headings (show on hover, copy URL to clipboard)\n- **Content Profiles**: Configurable feature restrictions (full, article, comment, minimal)\n- **Safe Mode**: XSS protection for untrusted content\n- **Syntax Highlighting**: Server-side highlighting with Torchlight Engine\n- **Code Block Enhancements**: Line numbers and line highlighting (VitePress-style syntax)\n- **WP-CLI Migration**: Migrate existing HTML/Markdown content to Djot\n\n## Example\n\n````\n# Welcome to My Blog\n\nThis is _emphasized_ and this is *strong*.\n\nHere's a [link to Djot](https://djot.net/) and some `inline code`.\n\n- First item\n- Second item\n- Third item\n\n\u003e A blockquote with some wisdom.\n\nAnd a code block:\n\n``` php\n\u003c?php\necho \"Hello, World!\";\n```\n````\n\n**Renders as:**\n\n\u003e # Welcome to My Blog\n\u003e\n\u003e This is _emphasized_ and this is **strong**.\n\u003e\n\u003e Here's a [link to Djot](https://djot.net/) and some `inline code`.\n\u003e\n\u003e - First item\n\u003e - Second item\n\u003e - Third item\n\u003e\n\u003e \u003e A blockquote with some wisdom.\n\u003e\n\u003e ```php\n\u003e \u003c?php\n\u003e echo \"Hello, World!\";\n\u003e ```\n\n## Requirements\n\n- PHP 8.2 or higher\n- WordPress 6.0 or higher\n\n## Installation\n\n### From WordPress.org\n\nSearch for \"Djot Markup\" in the WordPress plugin directory, or visit:\n[wordpress.org/plugins/djot-markup](https://wordpress.org/plugins/djot-markup/)\n\n### From GitHub\n\n```bash\ncd wp-content/plugins\ngit clone https://github.com/php-collective/wp-djot.git\ncd wp-djot\ncomposer install --no-dev\n```\n\n## Documentation\n\n- [Usage \u0026 Configuration](docs/README.md) - Getting started guide\n- [Content Profiles](docs/profiles.md) - Configure feature restrictions\n- [Customization](docs/customization.md) - Custom patterns, @mentions, render handlers\n- [WP-CLI Commands](docs/wp-cli.md) - Migrate existing content\n- [Hooks and Filters](docs/hooks.md) - Customize plugin behavior\n- [Djot Syntax](docs/syntax.md) - Quick reference\n\nFor complete Djot syntax documentation, visit [djot.net](https://djot.net/).\n\n## See Also\n\n- [Djot](https://djot.net/) - Official Djot website with syntax reference and playground\n- [jgm/djot](https://github.com/jgm/djot) - Reference implementation in JavaScript by John MacFarlane\n- [JetBrains IDE support](https://github.com/php-collective/djot-intellij) - Plugin for PhpStorm, IntelliJ IDEA, WebStorm, etc.\n- [Djot playground](https://sandbox.dereuromark.de/sandbox/djot) - Live demo to check out how this markup language works.\n \n## Credits\n\n- [djot-php](https://github.com/php-collective/djot-php) by PHP Collective\n- [Torchlight Engine](https://github.com/torchlight-api/engine) for syntax highlighting\n- [djot-grammars](https://github.com/php-collective/djot-grammars) for Djot syntax highlighting in code blocks\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for version history.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-collective%2Fwp-djot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-collective%2Fwp-djot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-collective%2Fwp-djot/lists"}