Bean markup design document

On Pranab’s site

DRAFT (needs work or removal)

Show/Hide contents
  1. Prior art

Bean is an extensible markup language, with constructs for delimiting and marking up text, as well as syntax sugar for commonly used markup, such as emphasis, lists, and tables.

Prior art🔗

Bean borrows from the tradition of Markdown, yet is more obviously influenced by djot, AsciiDoc, and MDX.

Markdown

Djot

AsciiDoc

MDX

Markdown suffers from being an ad-hoc specification with many issues. The author of CommonMark and djot has already explained these issues in ‘Beyond Markdown’.

While I was initially enamoured by AsciiDoc, I eventually realised that it has a lot of complex markup, and even more complex rules of its own, which makes it hard to implement and use. However, it does have some clever syntax decisions.

Djot is the format I find the most appealing, though it has made some choices that I believe could be done better.

The biggest power of MDX is its components system, which has a slightly different equivalent in Bean.