Djot: A light markup language by the creator of Pandoc and CommonMark

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • djot

    A light markup language

  • I am someone who has decided to go all-in on djot for my software.

    Personally, I care about the edge cases. I also don't care about multiple parsers because I want to write my own. (I currently depend on Sphinx, Breathe, and MyST, which are heavy dependencies.) And I don't store my code on GitHub because of Copilot and because of [1].

    I decided to go all-in on djot for several reasons:

    * I can write my own parser.

    * djot can target any format, which means I can use the same docs to generate manpages, a docs website like [2], and perhaps PDF's if my docs include something like the Rust Book.

    * djot's extension story [3] is the best of any format, and I need extensions that don't exist in any format for things like EBNF in a specification.

    That said, I think you are correct that this will not take off as much as CommonMark has. I guess I was just sharing that I don't care and why.

    [1]: https://gavinhoward.com/2020/04/i-am-moving-away-from-github...

    [2]: https://docs.yzena.com/

    [3]: https://github.com/jgm/djot/discussions/77

  • commonmark-spec

    CommonMark spec, with reference implementations in C and JavaScript

  • He is also the author of the CommonMark spec: https://spec.commonmark.org/0.30/

    https://commonmark.org

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pandoc-sidenote

    Convert Pandoc Markdown-style footnotes into sidenotes

  • I can’t imagine the intended audience being so wide as to include a goal of “replacing Markdown as the default on GitHub.”

    Instead, this project appeals to me as someone who’s already “bought in” to the pandoc ecosystem. Pandoc makes it really easy to write filters[1] and to take the same source file to generate web pages[2], Reveal.js presentations, Beamer presentations, and long-form PDFs[3]. As someone who writes most things in Markdown compiled via pandoc, I see the cracks in the edges all too often, but I’m too stubborn to give up markdown or any of the tools I’ve built up around pandoc and pandoc markdown. I could absolutely see there come a day where I find some last straw where I can’t get done with pandoc Markdown what I need to get done, and djot seems like it would at least be a contender. I’m sure there are many pundits here would chime in and say “just use Asciidoc,” but every time I look at a syntax quick reference, I get about halfway down the page before thinking “nah, this looks too foreign, I don’t want something that diverges this far from Markdown.”

    Djot deviates in annoying ways from Markdown, but not as many and so it’d be an easier pill to swallow for the narrow audience of people like me who want something mostly similar to Markdown that works well with pandoc and avoids the most common syntactic oddities of Markdown.

    [1] https://github.com/jez/pandoc-sidenote

    [2] https://github.com/jez/pandoc-markdown-css-theme

    [3] https://github.com/jez/pandoc-starter

  • pandoc-markdown-css-theme

    CSS files and a template for using Pandoc to generate standalone HTML files

  • I can’t imagine the intended audience being so wide as to include a goal of “replacing Markdown as the default on GitHub.”

    Instead, this project appeals to me as someone who’s already “bought in” to the pandoc ecosystem. Pandoc makes it really easy to write filters[1] and to take the same source file to generate web pages[2], Reveal.js presentations, Beamer presentations, and long-form PDFs[3]. As someone who writes most things in Markdown compiled via pandoc, I see the cracks in the edges all too often, but I’m too stubborn to give up markdown or any of the tools I’ve built up around pandoc and pandoc markdown. I could absolutely see there come a day where I find some last straw where I can’t get done with pandoc Markdown what I need to get done, and djot seems like it would at least be a contender. I’m sure there are many pundits here would chime in and say “just use Asciidoc,” but every time I look at a syntax quick reference, I get about halfway down the page before thinking “nah, this looks too foreign, I don’t want something that diverges this far from Markdown.”

    Djot deviates in annoying ways from Markdown, but not as many and so it’d be an easier pill to swallow for the narrow audience of people like me who want something mostly similar to Markdown that works well with pandoc and avoids the most common syntactic oddities of Markdown.

    [1] https://github.com/jez/pandoc-sidenote

    [2] https://github.com/jez/pandoc-markdown-css-theme

    [3] https://github.com/jez/pandoc-starter

  • pandoc-starter

    📄 My pandoc markdown templates and makefiles

  • I can’t imagine the intended audience being so wide as to include a goal of “replacing Markdown as the default on GitHub.”

    Instead, this project appeals to me as someone who’s already “bought in” to the pandoc ecosystem. Pandoc makes it really easy to write filters[1] and to take the same source file to generate web pages[2], Reveal.js presentations, Beamer presentations, and long-form PDFs[3]. As someone who writes most things in Markdown compiled via pandoc, I see the cracks in the edges all too often, but I’m too stubborn to give up markdown or any of the tools I’ve built up around pandoc and pandoc markdown. I could absolutely see there come a day where I find some last straw where I can’t get done with pandoc Markdown what I need to get done, and djot seems like it would at least be a contender. I’m sure there are many pundits here would chime in and say “just use Asciidoc,” but every time I look at a syntax quick reference, I get about halfway down the page before thinking “nah, this looks too foreign, I don’t want something that diverges this far from Markdown.”

    Djot deviates in annoying ways from Markdown, but not as many and so it’d be an easier pill to swallow for the narrow audience of people like me who want something mostly similar to Markdown that works well with pandoc and avoids the most common syntactic oddities of Markdown.

    [1] https://github.com/jez/pandoc-sidenote

    [2] https://github.com/jez/pandoc-markdown-css-theme

    [3] https://github.com/jez/pandoc-starter

  • dotvim

    My vim configuration (by jgm)

  • > pandoc in Haskell, and djot in Lua.

    I wonder if jgm’s djot parser being in Lua is also influenced by the fact that he is a Vim user:

    https://github.com/jgm/dotvim

    (Assuming Neovim because this repo has some Lua files.)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts