The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Commonmark Open-Source Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
markdown-it
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
vditor
♏ 一款浏览器端的 Markdown 编辑器,支持所见即所得(富文本)、即时渲染(类似 Typora)和分屏预览模式。An In-browser Markdown editor, support WYSIWYG (Rich Text), Instant Rendering (Typora-like) and Split View modes.
-
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.
-
goldmark
:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
-
CommonMark PHP
Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs.
-
flexmark-java
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
-
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.
My main authoring tool is then Emacs Markdown Mode (https://jblevins.org/projects/markdown-mode/). For data entry, it comes with some bells and whistles similar to org-mode, like C-c C-l for inserting links etc.
I seldom export my notes for external usage, but if it is the case, I use lowdown (https://kristaps.bsd.lv/lowdown/) which also comes with some nice output targets (among the more unusual are Groff and Terminal). Of cource pandoc (https://pandoc.org/) does a very good job here, too.
Next, install gray-matter to extract metadata from the front matter of markdown files, and marked to convert the markdown files to HTML:
Parse it into HTML using markdown-it
Project mention: I'm making a GlowUI text editor to get back into coding | /r/Windows11 | 2023-06-09If you need a WYSIWYG markdown editor you can try Toast UI Editor or simply use Markdown Live add-on for Visual Studio Code
This error related to the ReactMarkdown component and the useDisclosure hook in the @chakra-ui/react.
Project mention: Show HN: I made a tool to clean and convert any webpage to Markdown | news.ycombinator.com | 2024-04-14https://mixmark-io.github.io/turndown/
With some configuration you can get most of the way there.
Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11I also didn't try this tool but it's called RemarkJS which is named too similar to revealjs.
Some of Djot's features can be achieved by using markdownlint though: https://github.com/DavidAnson/markdownlint
Goldmark used by Hugo.
Project mention: Show HN: Generate pdf with gitbook or mdbook url | news.ycombinator.com | 2023-11-11I developed KeenWrite[0] with similar ideas to mdbook: typeset into PDF from Markdown. Technically, this happens in three stages. First, the Markdown is converted to XHTML. Second, the XHTML is converted to TeX commands. Third, the ConTeXt typesetting system produces a PDF file. Both the GUI and CLI can export to PDF.[1]
Like mdbook, the themes are isolated. Instead of CSS, KeenWrite themes are written in ConTeXt. There are several example starter themes.[2] A "thesis" theme would be a nice addition, but there's a problem.
Markdown lacks a standard for cross-references and citations. An open KeenWrite issue animates a possible UX solution.[3] The topic of references/citations has been discussed on CommonMark[4] without much movement. Parsing cross-references and citations would benefit flexmark-java[5] integrations. KeenWrite uses flexmark-java, but I'm otherwise unaffiliated. If anyone is interested in helping, reach out (see profile).
[0]: https://keenwrite.com/
[1]: https://gitlab.com/DaveJarvis/KeenWrite/-/blob/main/docs/cmd...
[2]: https://gitlab.com/DaveJarvis/keenwrite-themes/
[3]: https://gitlab.com/DaveJarvis/KeenWrite/-/issues/145
[4]: https://talk.commonmark.org/t/cross-references-and-citations...
[5]: https://github.com/vsch/flexmark-java
Project mention: CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 3 | dev.to | 2024-01-08As a platform that allows expressiveness, we want our users to be bold enough to ask and answer questions with either plain text or some markdowns. Compiling markdown to HTML in Rust can be done via the pulldown-cmark crate. We used it in this utility function:
I know this doesn't solve your problem directly, but I recommend people to try out Djot[0], a markup language from the author of CommonMark.
Djot has a single well-defined spec, and most of the basic formatting has the same syntax as (a) Markdown, so switching is pretty painless. It has as a main goal to be legible and visually aesthetic as-is, just like Markdown.
What Djot adds is its _predictability_. Nested formatting, precedence order, line breaks behavior, nested blocks, mixed inline and block formatting, custom attributes are all laid out precisely in the spec in a thought-out manner. Till this day I still can't remember how to put line break within a list item in Markdown (and I'm sure there're more than one way).
[0]: https://djot.net/
Commonmark related posts
- LaTeX and Neovim for technical note-taking
- Pandoc 3.1.12 Released
- Blogging in Djot Instead of Markdown
- Pandoc
- Augmenting the Markdown Language for Great Python Graphical Interfaces
- CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 3
- 給前端的簡單 AI 教學 - 2.3 在 llm 回應中渲染 custom component
-
A note from our sponsor - WorkOS
workos.com | 23 Apr 2024
Index
What are some of the best open-source Commonmark projects? This list will help you:
Project | Stars | |
---|---|---|
1 | pandoc | 32,312 |
2 | marked | 31,845 |
3 | markdown-it | 17,130 |
4 | TOAST UI Editor | 16,745 |
5 | editor.md | 13,562 |
6 | react-markdown | 12,167 |
7 | to-markdown | 7,870 |
8 | vditor | 7,717 |
9 | remark | 7,187 |
10 | remarkable | 5,667 |
11 | markdownlint | 4,446 |
12 | Markdig | 4,076 |
13 | goldmark | 3,326 |
14 | CommonMark PHP | 2,649 |
15 | texme | 2,254 |
16 | Down | 2,186 |
17 | flexmark-java | 2,181 |
18 | commonmark-java | 2,167 |
19 | swift-markdown-ui | 2,075 |
20 | pulldown-cmark | 1,919 |
21 | HTML to Markdown | 1,693 |
22 | micromark | 1,655 |
23 | djot | 1,567 |
Sponsored