Pandoc extension to convert markdown to slack formatting.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
example.md
slack.lua

README.md

pandoc-md-to-slack

Pandoc extension to convert markdown to slack formatting. More here: http://omarish.com/2018/06/24/convert-markdown-to-slack-formatting.html.

How?

$ pandoc -f gfm -t slack.lua example.md

Example

› cat example.md
# This is a first heading.

## This is a second heading.

This is a list:

1. Item 1.
2. Item 2.
3. Item 3.

_this text should be emphasized_

Convert to slack:

$ pandoc -f gfm -t slack.lua example.md

Result:

*This is a first heading.*

*This is a second heading.*

This is a list:

* Item 1.
* Item 2.
* Item 3.

_this text should be emphasized_