Skip to content
Permalink
Browse files

More documentation

  • Loading branch information...
Depado committed Oct 9, 2017
1 parent c47cbf3 commit 67711dab14c3e99d59d6d0fa32a101927d0e7665
Showing with 20 additions and 0 deletions.
  1. +20 −0 README.md
@@ -7,6 +7,26 @@

Integrating Chroma syntax highlighter as a blackfriday renderer

## Features

This renderer integrates chroma to highlight code with triple backtick notation.
It will try to use the given language when available otherwise it will try to
detect the language. If none of these two method works it will fallback.

````markdown
```go
fmt.Println("Chroma will use the given language : go")
```

```
fmt.Println("Chroma will auto-detect the go language")
```

```
chroma will fallback to a sane default as it can't determine the used language
```
````

## Usage

```go

0 comments on commit 67711da

Please sign in to comment.
You can’t perform that action at this time.