mdtool

command module
v0.0.0-...-e210a45 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: BSD-2-Clause Imports: 14 Imported by: 0

README

mdtool License Pipeline status

An example command-line tool that uses golang-commonmark/markdown to process markdown input.

Install

go install gitlab.com/golang-commonmark/mdtool@latest

Use

$ mdtool -help
Usage: mdtool [options] [inputfile|URL] [outputfile]

Options:
  +h[tml]         Enable raw HTML
  +l[inkify]      Enable autolinking
  +ta[bles]       Enable GFM tables
  +ty[pographer]  Enable typographic replacements
  +a[ll]          All of the above
  +x[html]        XHTML output

  -help           Display this help

Use 'browser:' in place of the output file to see the output in a browser.

Documentation

Overview

An example command-line tool that uses opennota/markdown to process markdown input.

Jump to

Keyboard shortcuts

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