{"repo":"vimtaai/extramark","free":true,"listed":false,"github":"https://github.com/vimtaai/extramark","clone":"git clone https://github.com/vimtaai/extramark.git","description":"CommonMark superset with the most widely used syntax extensions","language":"JavaScript","stars":15,"topics":["markdown","commonmark","commonmark-superset"],"license":"MIT","category":"productivity","readme_excerpt":"ExtraMark [![License][license-badge]][license-link] [![Version][version-badge]][version-link] [![Build][build-badge]][build-link] Superset of CommonMark that includes syntax extensions that are commonly used by other Markdown dialects. The list and syntax for the extensions are decided by looking at the most popular Markdown dialects and selecting the most common syntax for each feature. The goal of the project is to create a (somewhat) standard superset of CommonMark that supports the features that are requested by most. The parser is based on markdown-it and uses plugins for syntax extensions. Setup Install via npm : Usage The extramark package exposes two functions, parse() and render() . The parse() function creates an abstract syntax tree from the input while the render() function returns the generated HTML code (see markdown-it). In a browser environment you can access the parse() and render() functions via the ExtraMark global object. CLI To transform documents in the command line you have to install the extramark package globally. After the installation the extramark command becomes available. The command can be used to transform the input text (file or stdin ) to HTML (file or stdout ). To see all options of the extramark see it's help: Features - Defined clearly as a superset of CommonMark - Syntax extensions - [Automatic typographic replacements][typographer] - [Tables][table] - [Anchors for headings][anchor] (up to heading level 3) - [Definition lists][definition-","default_branch":null,"files":null,"tree":[],"storefront":"/r/vimtaai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vimtaai/extramark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}