Skip to content

Commit

Permalink
Updated README for v0.1.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
f34nk committed May 5, 2018
1 parent 0dc0c47 commit e25cec3
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# *Under development...*

[![Build status](https://travis-ci.org/f34nk/tidy_ex.svg?branch=master)](https://travis-ci.org/f34nk/tidy_ex)
[![ModestEx version](https://img.shields.io/hexpm/v/tidy_ex.svg)](https://hex.pm/packages/tidy_ex)
[![Hex.pm](https://img.shields.io/hexpm/dt/tidy_ex.svg)](https://hex.pm/packages/tidy_ex)
Expand Down Expand Up @@ -36,11 +34,24 @@ test "can clean and repair broken html" do
result = TidyEx.clean_and_repair("<div>Hello<span>World")
assert result == "<div>Hello<span>World</span></div>"
end

test "can run diagnostics invalud html" do
result = TidyEx.run_diagnostics("<pp>Hello World</p>")
assert result == "line 1 column 1 - Error: <pp> is not recognized!\nThis document has errors that must be fixed before\nusing HTML Tidy to generate a tidied up version."
end
```

## Installation

Not yet published
Available on [hex](https://hex.pm/packages/tidy_ex).

```elixir
def deps do
[
{:tidy_ex, "~> 0.1.0-dev"}
]
end
```

## Target dependencies
```
Expand Down Expand Up @@ -82,16 +93,16 @@ See [CHANGELOG](https://github.com/f34nk/tidy_ex/blob/master/CHANGELOG.md).
- [ ] Tests
- [ ] Call as C-Node
- [ ] Call as dirty-nif
- [ ] Target tests
- [ ] Feature tests
- [ ] Package test
- [x] Target tests
- [x] Feature tests
- [x] Package test
- [ ] Features
- [x] Set tidy-html5 options
- [x] Serialize any string with valid or broken html
- [x] Clean and repair
- [ ] Run diagnostics
- [x] Run diagnostics
- [ ] Documentation
- [ ] Publish as hex package
- [x] Publish as hex package

## Icon Credit

Expand Down

0 comments on commit e25cec3

Please sign in to comment.