All Projects → Depado → chromarkdown

Depado / chromarkdown

Licence: MIT license
Generate single-file static responsive HTML page from Markdown with syntax-highlighting.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to chromarkdown

Docpht
With DocPHT you can take notes and quickly document anything and without the use of any database.
Stars: ✭ 90 (+592.31%)
Mutual labels:  syntax-highlighting, markdown-to-html
clifm
The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell
Stars: ✭ 825 (+6246.15%)
Mutual labels:  syntax-highlighting
git-split-diffs
GitHub style split diffs in your terminal
Stars: ✭ 2,423 (+18538.46%)
Mutual labels:  syntax-highlighting
nord-notepadplusplus
An arctic, north-bluish clean and elegant Notepad++ theme.
Stars: ✭ 112 (+761.54%)
Mutual labels:  syntax-highlighting
new-moon-atom-syntax
New Moon Syntax Theme for Atom
Stars: ✭ 23 (+76.92%)
Mutual labels:  syntax-highlighting
kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
Stars: ✭ 17 (+30.77%)
Mutual labels:  syntax-highlighting
sublime rainbow csv
🌈Rainbow CSV - Sublime Text Package: Highlight columns in CSV and TSV files and run queeries in SQL-like language
Stars: ✭ 97 (+646.15%)
Mutual labels:  syntax-highlighting
shikijs
A JavaScript Library for Syntax Highlighting with Awesome themes
Stars: ✭ 21 (+61.54%)
Mutual labels:  syntax-highlighting
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (+415.38%)
Mutual labels:  syntax-highlighting
notes
Simple text editor for your Markdown and LaTeX notes.
Stars: ✭ 24 (+84.62%)
Mutual labels:  markdown-to-html
mdyna-app
React+Redux+Electron Note taking application repository
Stars: ✭ 68 (+423.08%)
Mutual labels:  syntax-highlighting
rdocsyntax
Syntax highlighting for R HTML documentation
Stars: ✭ 20 (+53.85%)
Mutual labels:  syntax-highlighting
syntax highlighter
Syntax Highlighter for Dart/Flutter Code
Stars: ✭ 28 (+115.38%)
Mutual labels:  syntax-highlighting
markdown nav
markdown自动生成导航目录
Stars: ✭ 48 (+269.23%)
Mutual labels:  markdown-to-html
madness
Instant Markdown Server
Stars: ✭ 54 (+315.38%)
Mutual labels:  markdown-to-html
kirby-highlight
Themeable server-side syntax highlighting for Kirby
Stars: ✭ 14 (+7.69%)
Mutual labels:  syntax-highlighting
intellij-diff-plugin
Syntax highlighting for .diff files and .patch files in IntelliJ IDEs
Stars: ✭ 17 (+30.77%)
Mutual labels:  syntax-highlighting
ace-documentation
A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
Stars: ✭ 91 (+600%)
Mutual labels:  syntax-highlighting
language-grammars
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
Stars: ✭ 14 (+7.69%)
Mutual labels:  syntax-highlighting
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (+453.85%)
Mutual labels:  syntax-highlighting

Chromarkdown

forthebadgeforthebadge

Go Version Go Report Card Build Status codecov License Godoc Say Thanks! FOSSA Status

Build single-file static HTML page with Chroma (syntax highlighting) and Markdown

screenshot

Introduction

Chromarkdown is a tool to generate single-file static HTML pages from a Markdown file input. This tool has no external dependecies and performs the following operations:

  • Syntax highlighting thanks to chroma
  • Markdown rendering using blackfriday
  • Embedded Roboto and Roboto-mono fonts
  • Dynamic CSS for Syntax Highlighter according to the chosen theme
  • Single-file (one HTML file) output with embedded styles and fonts (no network call)
  • Responsive page with simple design according to bettermotherfuckingwebsite

Build

Chromarkdown is using dep for its dependency management

$ go get github.com/Depado/chromarkdown
$ cd $GOPATH/Depado/chromarkdown
$ dep ensure
$ packr build

For a standalone installation, chromarkdown is using packr to embed the template in the go binary.

$ go get -u github.com/gobuffalo/packr/...
$ packr build
$ # or, to embed and install: 
$ packr install

Install

Pre-compiled binaries can be found in the releases tab.

$ wget https://github.com/Depado/chromarkdown/releases/download/v1.0.0/chromarkdown_linux_amd64

Usage

Once installed you can run the chromarkdown command:

$ chromarkdown --help

Chromarkdown uses a combination of blackfriday and chroma to render an input markdown file.
It generates standalone HTML files that includes fonts, a grid system and extra CSS.

Usage:
  chromarkdown [input file] [flags]

Flags:
  -h, --help            help for chromarkdown
      --no-toc          Disable the table of content
  -o, --output string   specify the path of the output HTML (default "out.html")
      --theme string    Specify the theme for syntax highlighting (default "monokai")
  -t, --title string    Specify the title of the HTML page (default "Ouput")

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].