Skip to content

Commit

Permalink
Merge pull request #40 from aminya/patch-1
Browse files Browse the repository at this point in the history
Doc fixing
  • Loading branch information
MichaelHatherly authored Jun 16, 2020
2 parents fc1d949 + fda18bf commit b2ec41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/man/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ user-defined formats.
To begin we will need to import the `Format` module from `Highlights`.

```julia
using Highlights.Format
using Highlights: Format, highlight
```

Now we need to decide on a format the we'd like to add. We'll be adding an ANSI
Expand Down Expand Up @@ -59,5 +59,5 @@ end
To view highlighted source code in the terminal we can then just call

```
julia> highlight(STDOUT, MIME("text/ansi"), source, Lexers.JuliaLexer)
julia> highlight(stdout, MIME("text/ansi"), source, Lexers.JuliaLexer)
```

0 comments on commit b2ec41a

Please sign in to comment.