view README.md @ 15:ebecd141e9d3

Fix crash when there is no YAML
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 25 Jun 2020 21:16:19 +0200
parents 78282df000f2
children d8199e07d089
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 tmeplate to wrap the produced html you can do
```bash
./wdown -tmpl test.tmpl test.md > test.htm
```