Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
/ common-mark-gen Public archive

(Recovered long-lost ancient project from 2016) Markdown rendering utility

Notifications You must be signed in to change notification settings

dmitmel/common-mark-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

common-mark-gen

Command-line utility for generating pretty GitHub-like HTML from Markdown with CommonMark (http://commonmark.org/) syntax.

Installation

wget https://raw.githubusercontent.com/dmitmel/common-mark-gen/master/common-mark-gen-installer.sh
bash common-mark-gen-installer.sh

Usage

common-mark-gen README.md README.html  # Will generate README.html
common-mark-gen README.md              # Will generate README.md.html

Options

Option Description
-p, --print-result print result
-1, --one-file put all CSS to generated HTML file
--doc-style DOC_STYLE path to CSS file with styles for document (e.g. headers, code boxes, etc), defaults to file://$HOME/.common-mark-gen/highlight.js/github-markdown.css
--code-style CODE_STYLE path to CSS file with styles for code highlighting (used by highlight.js), defaults to file://$HOME/node_modules/highlight.js/styles/github-gist.css

About

(Recovered long-lost ancient project from 2016) Markdown rendering utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published