README.md

# ExPygments

Syntax hightlight using [Pygments](http://pygments.org)

## Preinstall

ExPygments requires python3 `pygments` package in able to work.

```sh
pip3 install pygments
```

## Installation

```elixir
{:pygments, github: "nipinium/expygments"}
```

## Usage

```elixir
# highlight(source, language \\ "text")
html = Pygments.highlight("defmodule Bar do\nend\n", "elixir")

# For source code parsed through a markdown engine:
# highlight_escaped(source, language)
html = Pygments.highlight_escaped("<tag>", "html")
```

## License

UNLICENSE