Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6535369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:21:56+00:00 2026-05-25T10:21:56+00:00

The problem with writing my own Markdown parser in Clojure is that Markdown is

  • 0

The problem with writing my own Markdown parser in Clojure is that Markdown is not a well-specified language. There is no “official” grammar, just an informal “Here’s how it works” description and a really ugly reference implementation in Perl.
http://briancarper.net/blog/415/

I can see Gruber’s specification here and the implementation here.

This is an implementation that wins the google ranking test here

Then there is peg-markdown which appears to solve the ‘there is no grammar’ problem – but is not the canonical implementation.

My question is – what is the canonical implementation of markdown? (The one that everybody says defines the standard).

EDIT:

I acknowledge that “there is no canonical standard”. I’m looking for the next best thing.

The answer seems to be showdown.js, but there are problems with it.

(using the definition of canonical being the one that everybody says defines the standard).

It gets referenced here and on github here.

I’ll throw in pagedown as well (as aluded to by @deceze) because it appears to fix the bugs in showdown and be a little closer to Gruber’s original.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:21:56+00:00Added an answer on May 25, 2026 at 10:21 am

    I believe Gruber’s is the original and sort-of-canonical (see, for example, his ‘Introducing Markdown’), and then people have extended it from there. I think some extensions are more common than others though, so it’s probably worth seeing what a few well-used packages have over his original.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing my own gridview control. The problem is sorting. What is best practic
I am writing my own engine using OpenTK (basically just OpenGL bindings for C#,
I'm writing my own server in ANSI C (on Linux) and I've got one
I'm writing my own ContentProvider which will be synced to a web service using
I am writing my own WYSIWYG html editor based on jquery. In order to
I'm writing my own Authenticator and AuthenticationService and want to manage/maintain a http-session, consisting
I am writing my own Ray Cast collision detector and every now and then,
I'm writing my own class, very similar to a toolbar, which will contain widgets
I'm currently writing my own PHP framework as a learning exercise using the HMVC
We have a 3rd party piece of software that uses a bunch of internal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.