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 Beyond Markdown.

Features

  • Parse djot markup in linear time, with no backtracking
  • Parsing of inline elements is "local" and does not depend on what references are defined later
  • Documentation available
  • The extension .dj may be used to indicate that the contents of a file are djot-formatted text
  • The code and documentation are released under the MIT license
  • Implementations in JavaScript, Lua, Prolog, Rust

Project Samples

Project Activity

See All Activity >

Categories

Markup Languages

License

MIT License

Follow Djot

Djot Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Djot!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2024-07-17