{"repo":"php-collective/djot-php","free":true,"listed":false,"github":"https://github.com/php-collective/djot-php","clone":"git clone https://github.com/php-collective/djot-php.git","description":"A PHP parser for Djot, a modern light markup language","language":"PHP","stars":25,"topics":["djot","language","markdown","markdown-language","markup"],"license":"MIT","category":"productivity","readme_excerpt":"Djot PHP A PHP parser for Djot, a modern light markup language created by John MacFarlane (author of CommonMark/Pandoc). Installation Quick Start Features - Block elements : Headings, paragraphs, code blocks, block quotes, lists, tables, divs, definition lists, line blocks - Inline elements : Emphasis, strong, links, images, code, superscript, subscript, highlight, insert, delete - Advanced : Footnotes, math expressions, symbols, block attributes, raw HTML blocks, comments - Smart typography : Curly quotes, en/em dashes, ellipsis - Multiple renderers : HTML, plain text, Markdown, ANSI terminal output - Extensions : Built-in extensions for external links, TOC, heading permalinks, @mentions, autolinks, default attributes, and citations - Extensible : Custom inline/block patterns, render events - Editor integration : Opt-in data-source-line stamping on blocks, nested blocks, list items, and definition list entries for live-preview scroll-sync ( new DjotConverter(sourceLines: true) ) — see Source-line tracking - File support : Parse and convert files directly - CLI tools : bin/djot (one-shot convert) and bin/djot-watch (live-reload preview server) — see CLI reference Example php echo \"Hello World\"; DJOT; echo $converter- convert($djot); html Welcome This is emphasized and strong text with a link . Name Role Alice Developer Bob Designer \"Djot is a light markup syntax.\" echo \"Hello World\"; php $converter = new DjotConverter(safeMode: true); $html = $converter- convert($untrustedInp","default_branch":null,"files":null,"tree":[],"storefront":"/r/php-collective","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/php-collective/djot-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}