From fda18bf9bba8220125e347d8c3680afd6dcad154 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 15 Jun 2020 15:57:29 -0500 Subject: [PATCH] Doc fixing --- docs/src/man/formatting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/man/formatting.md b/docs/src/man/formatting.md index 429789d..f111f67 100644 --- a/docs/src/man/formatting.md +++ b/docs/src/man/formatting.md @@ -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 @@ -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) ```