Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Extend docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mre committed Nov 29, 2018
1 parent 4912fbd commit 9521ea1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
21 changes: 20 additions & 1 deletion Cargo.toml
@@ -1,7 +1,26 @@
[package]
name = "prettyprint"
license = "Apache-2.0/MIT"
readme = "README.md"
repository = "https://github.com/mre/prettyprint"
version = "0.1.0"
authors = ["Matthias Endler <matthias-endler@gmx.net>"]
authors = [
"Matthias Endler <matthias-endler@gmx.net>",
]
categories = [
"command-line-interface",
"parsing",
]
description = "Print beautifully formatted files and strings to your terminal"
documentation = "https://github.com/mre/prettyprint/blob/master/README.md"
homepage = "https://github.com/mre/prettyprint"
keywords = [
"syntax",
"highlighting",
"highlighter",
"colouring",
"prettyprint"
]

[dependencies]
ansi_colours = "1.0.1"
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -37,6 +37,14 @@ printer.string_with_header(example, "fib.rb")?;
"What!? It can also print strings, Matthias? That's insane."
It's true. You're welcome.

## Installation

Add this to your `Cargo.toml`:

```
prettyprint = "*"
```

## But why?

[`syntect`](https://github.com/trishume/syntect/) is a great package for highlighting text.
Expand Down

0 comments on commit 9521ea1

Please sign in to comment.