gomark

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

README

gomark

Go Report Card

gomark is a command-line tool written in Go that converts Markdown files into self-contained HTML documents. It features a modern dark theme, syntax highlighting for code blocks, and support for GitHub Flavored Markdown (GFM).

Features

  • Self-contained HTML: All styles and syntax highlighting CSS are embedded directly in the output HTML file.
  • Dark Theme: Modern dark interface by default.
  • Syntax Highlighting: High-quality code block highlighting using Chroma (Monokai style).
  • GFM Support: Includes support for tables, task lists, and other GitHub Flavored Markdown extensions.
  • Wide Layout: Content width optimized for readability (1200px max-width).

Installation

To install gomark, ensure you have Go installed on your system, then run:

go install github.com/mlctrez/gomark@latest

The gomark binary will be placed in your $GOPATH/bin (usually ~/go/bin).

Usage

Run gomark with the input and output file paths:

gomark -i <input.md> -o <output.html>
Flags
  • -i: Path to the input Markdown file.
  • -o: Path to the output HTML file.

Example

gomark -i README.md -o documentation.html

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL