view README.md @ 19:fbdb89dc8e8c

Add todo regarding syntax highlighting styles
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 01 Jul 2020 11:35:52 +0200
parents d8199e07d089
children
line wrap: on
line source

# Building
The `wdown` command is built using the `go` tool.
```bash
go build
```

# Usage
Once the executable has been built it can be used to convert a markdown document to html.

```bash
./wdown test.md
```
This will write the html to `stdout`. If you want a `.html` file you can do

```bash
./wdown test.md  > test.html
```

To use a template to wrap the produced html you can do
```bash
./wdown -tmpl test.tmpl test.md > test.html
```