readme: use fenced code blocks (#519)

It's more consistent and it's possible to mark code blocks with "go" hint,
so we get syntax highlighting on GitHub.
pull/527/head
Iskander (Alex) Sharipov 2019-01-20 18:42:03 +00:00 committed by Vytautas Šaltenis
parent 8c3eacd7a5
commit 13768b07fa
1 changed files with 6 additions and 2 deletions

View File

@ -86,12 +86,16 @@ Usage
For basic usage, it is as simple as getting your input into a byte
slice and calling:
output := blackfriday.MarkdownBasic(input)
```go
output := blackfriday.MarkdownBasic(input)
```
This renders it with no extensions enabled. To get a more useful
feature set, use this instead:
output := blackfriday.MarkdownCommon(input)
```go
output := blackfriday.MarkdownCommon(input)
```
### v2