{"repo":"jgm/djot","free":true,"listed":false,"github":"https://github.com/jgm/djot","clone":"git clone https://github.com/jgm/djot.git","description":"A light markup language","language":"Emacs Lisp","stars":2032,"topics":["commonmark","lua","markdown","markup-language","pandoc"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Djot Djot is a light markup syntax. It derives most of its features from commonmark, but it fixes a few things that make commonmark's syntax complex and difficult to parse efficiently. It is also much fuller-featured than commonmark, with support for definition lists, footnotes, tables, several new kinds of inline formatting (insert, delete, highlight, superscript, subscript), math, smart punctuation, attributes that can be applied to any element, and generic containers for block-level, inline-level, and raw content. The project began as an attempt to implement some of the ideas I suggested in my essay Beyond Markdown. (See Rationale, below.) This repository contains a Syntax Description, a Cheatsheet, and a Quick Start for Markdown Users that outlines the main differences between djot and Markdown. You can try djot on the djot playground without installing anything locally. Rationale Here are some design goals: 1. It should be possible to parse djot markup in linear time, with no backtracking. 2. Parsing of inline elements should be \"local\" and not depend on what references are defined later. This is not the case in commonmark: [foo][bar] might be \"[foo]\" followed by a link with text \"bar\", or \"[foo][bar]\", or a link with text \"foo\", or a link with text \"foo\" followed by \"[bar]\", depending on whether the references [foo] and [bar] are defined elsewhere (perhaps later) in the document. This non-locality makes accurate syntax highlighting nearly impossible. 3. Rules for emphas","default_branch":null,"files":null,"tree":[],"storefront":"/r/jgm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jgm/djot/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."}