https://github.com/green-coder/html-to-hiccup
A html->hiccup conversion function in pure CLJC
https://github.com/green-coder/html-to-hiccup
cljc clojure clojurescript conversion hiccup html
Last synced: about 2 months ago
JSON representation
A html->hiccup conversion function in pure CLJC
- Host: GitHub
- URL: https://github.com/green-coder/html-to-hiccup
- Owner: green-coder
- License: epl-1.0
- Created: 2022-03-15T07:45:39.000Z (about 3 years ago)
- Default Branch: made-in-taiwan
- Last Pushed: 2022-04-03T03:58:59.000Z (about 3 years ago)
- Last Synced: 2025-02-27T05:50:55.593Z (2 months ago)
- Topics: cljc, clojure, clojurescript, conversion, hiccup, html
- Language: Clojure
- Homepage:
- Size: 43.9 KB
- Stars: 51
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# html-to-hiccup
[](https://circleci.com/gh/green-coder/html-to-hiccup)
[](https://clojars.org/taipei.404/html-to-hiccup)
[](https://cljdoc.org/d/taipei.404/html-to-hiccup/CURRENT)
[](https://clojars.org/taipei.404/html-to-hiccup)A tiny, simple and truly cross-platform (CLJC) `html->hiccup` function
which does not rely on the browser.## Installation
[](http://clojars.org/taipei.404/html-to-hiccup)
## Feature
- Truly cross-platform (CLJC), does not rely on the browser.
- Tiny source code, easy to digest.
- Highly hackable. Fork me as soon as needed!## Usage
```clojure
(require '[taipei-404.html :refer [html->hiccup]])(html->hiccup "
hello, world
")
; => ([:p "hello, world"])
```## Contributing
Pull Requests and bug reports are welcome.
You can run the tests in the background by using `./bin/kaocha --watch` in a terminal
while you are changing the source code in your preferred editor.## License
Copyright © 2022 Vincent Cantin and contributors.
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.