mdhtml

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

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 3 Imported by: 0

README ¶

Really simple CLI Markdown to HTML converter with styling support

🌟 Usage

To convert a Markdown file to HTML, you can run the following command:

mdhtml -f <input file>

This will create a file called output.html in the current directory. You can also specify the output file name:

mdhtml -f <input file> -o <output file>

You can also specify a CSS file to style the HTML file:

mdhtml -f <input file> -o <output file> -s <css file>

To see all available options, you can run:

mdhtml -h

💻 Installation

To install mdhtml, you can either download the binary from the releases page and install it to the system or build it from source.

Installing the binary

To install the binary, you can download it from the releases page and install it to your system (Linux):

sudo mv mdhtml /usr/local/bin

Building from source

To build mdhtml from source, you need to have Go installed on your system. Then, you can run the following command to build the binary:

go build -o mdhtml main.go

Then you can install the binary to your system (Linux):

sudo mv mdhtml /usr/local/bin

Installing from AUR

If you are using Arch Linux, you can install mdhtml from the AUR.

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
internal

Jump to

Keyboard shortcuts

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