Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hecrj/html-parser
Parse HTML 5 in Elm
https://github.com/hecrj/html-parser
elm html parser
Last synced: 2 days ago
JSON representation
Parse HTML 5 in Elm
- Host: GitHub
- URL: https://github.com/hecrj/html-parser
- Owner: hecrj
- License: bsd-3-clause
- Created: 2018-05-16T01:31:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-08T19:05:16.000Z (over 1 year ago)
- Last Synced: 2024-06-19T12:27:10.850Z (5 months ago)
- Topics: elm, html, parser
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/hecrj/html-parser/latest/
- Size: 53.7 KB
- Stars: 61
- Watchers: 5
- Forks: 25
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# html-parser [![Build Status](https://travis-ci.org/hecrj/html-parser.svg?branch=master)](https://travis-ci.org/hecrj/html-parser)
Parse HTML 5 in Elm 0.19!
```elm
import Html.ParserHtml.Parser.run "
"Hello, world!
-- => Ok [ Element "div" [] [ Element "p" [] [ Text "Hello, world!" ] ] ]
```## Limitations
* `` tags are not fully supported.
* SVG is not supported.Feel free to contribute!
## Contributing / Feedback
Feel free to fork and open issues or pull requests. You can also contact me (@hecrj)
on the [Elm Slack][elm-slack]. I am always happy to talk!## Credits
* [`jinjor/elm-html-parser`][jinjor] for most of the tests.[elm-slack]: https://elmlang.herokuapp.com
[jinjor]: https://github.com/jinjor/elm-html-parser