Which markdown parser Netlify CMS uses?

Hello,
in my project we use https://www.netlifycms.org/docs/open-authoring, and I’d like to know which markdown parser Netlify CMS uses in the WYSIWYG editor?

I’ve looked at your docs https://www.netlifycms.org/ and https://github.com/netlify/netlify-cms/issues and can’t find the answer.

Thanks,

Hey @amussap :wave:t2:

Welcome to the Community :slight_smile:

I believe Netlify CMS utilizes Remark for Markdown parsing.

Hope that helps!


Jon

Correct! Remark is the parser, the editor itself is based on slate: https://github.com/ianstormtaylor/slate

1 Like

Thank you @jonsully and @tomrutgers.

I was looking for this information because we use Hugo with Blackfriday parser in my project. Since Blackfriday will be discontinued, we’re going to change the parser to Goldmark, which is commonmark compliant.

Now, I’d like to know if Remark is commonmark compliant. I didn’t find anything in Remark main page, but I’ve found:

So, sorry my dumb question but, do the two examples above show that Remark is commonmark compliant?

I don’t think either of us would be able to certify that for you @amussap. Remark is a very separate and not-connected project/organization to Netlify so from an ‘official’ standpoint, we can only point you in the right direction to make that determination for yourself :slight_smile:

remark-generic-extensions sounds like it would be helpful, but that’s as far as I can say :confused:


Jon

1 Like

remark has an open issue about it that can provide more information:

2 Likes