JavaScript Commonmark

Open-source JavaScript projects categorized as Commonmark

Top 10 JavaScript Commonmark Projects

  • marked

    A markdown parser and compiler. Built for speed.

    Project mention: Improving Render Performance in React | dev.to | 2022-11-21

    In the following example, we have a user profile component that renders a list of the user's skills. Each skill has a name and a description. The description is served as markdown and we need to parse it to HTML before we render it. We can do this with a markdown parser (marked, in this case) and use dangerouslySetInnerHTML to inject the HTML into a

  • markdown-it

    Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

    Project mention: How to convert markdown to json in react js | reddit.com/r/reactjs | 2022-12-31

    Maybe Markdown It? link

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • editor.md

    The open source embeddable online markdown editor (component).

    Project mention: Integrating Django Admin with Markdown Editor | dev.to | 2022-09-15

    Django-mdeditor is Markdown Editor plugin application for django base on Editor.md.

  • react-markdown

    Markdown component for React

    Project mention: Storing & Rendering Blogs: no markdown-parser | dev.to | 2022-11-05

    I've been trying to put together a blog for myself and a point comes when one needs to start thinking about strategies to store the blogs somewhere. One common strategy you find in a lot of tutorials is using some third-party library that parses markdown to the desired semantic, for eg. react-markdown . Now, speaking of the goods of such a library, it (hopefully) tackles the security concerns that come with letting external HTML render on a site. This is the security concern that leads to dangerous function names such as dangerouslySetInnerHTML, quoting the react docs , just " to remind yourself that it’s dangerous " . On a serious note, XSS attacks can be a major pain in the posterior. Apart from that, such libraries also eliminate the need to implement your own markdown parser.

  • remark

    remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc. (by remarkjs)

    Project mention: Contentlayer with next/image | dev.to | 2023-01-04

    contentlayer uses remark to parse the markdown in an mdast. We can now use remark plugins to modify the mdast. Then rehype comes into play and converts the mdast into a hast. rehype plugins can now modify the hast. Finally the hast is converted into react components.

  • remarkable

    Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.

  • markdownlint

    A Node.js style checker and lint tool for Markdown/CommonMark files.

    Project mention: VS Code - Catch errors in your markdown files | dev.to | 2022-07-04

    The markdownlint VS Code extension is powered by the Node library of the same name. Its usage is quite similar to ESLint. It has a set of rules that can be configured, errors are highlighted, and you can automatically fix simple errors.

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • texme

    Self-rendering Markdown + LaTeX documents

    Project mention: What software do you use to make documents without resorting to Microsoft word? | reddit.com/r/suckless | 2023-01-30

    It probably won't cover needs of "make documents at our office" but I'd like to mention https://github.com/susam/texme. Basically you prepend your markdown file with a line of HTML/Javascript, rename it to HTML and it'll render pretty in a webbrowser.

  • micromark

    the smallest commonmark (optionally gfm) compliant markdown parser that exists; new foundation for @unifiedjs (hundreds of projects w/ billions of downloads for dealing w/ content)

    Project mention: I'm a little confused on how to handle blog posts and blog post snippets | reddit.com/r/webdev | 2023-01-17

    You mean when fetching the data on the client, you don't want it to come along with the styling? Is it in a tag?

    I just want to wrap my head around the problem more properly, and what you're trying to solve

    Also, if the blog post data was created with styling in the first place then what's the purpose for removing the styling? The only reason I can imagine is that the same blog post data would be used for two different purposes, one needing the styled version while the other would need the unstyled version. Otherwise, if the data is only ever going to be used without styles, I would just make sure they're added without styles in the first

    Also, if you want to store markdown instead of html in the database, you can parse it into HTML on the client using a library like micromark (https://github.com/micromark/micromark) or similar

  • muboard

    Self-rendering and distributable mathematics chalkboards

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-30.

JavaScript Commonmark related posts

Index

What are some of the best open-source Commonmark projects in JavaScript? This list will help you:

Project Stars
1 marked 29,007
2 markdown-it 14,789
3 editor.md 12,758
4 react-markdown 9,839
5 remark 5,950
6 remarkable 5,465
7 markdownlint 3,581
8 texme 2,133
9 micromark 1,367
10 muboard 542
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
www.influxdata.com