Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (almost 3 years ago)
- Default Branch: made-in-taiwan
- Last Pushed: 2022-04-03T03:58:59.000Z (almost 3 years ago)
- Last Synced: 2024-10-15T15:18:10.095Z (4 months ago)
- Topics: cljc, clojure, clojurescript, conversion, hiccup, html
- Language: Clojure
- Homepage:
- Size: 43.9 KB
- Stars: 50
- 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
[![CircleCI](https://circleci.com/gh/green-coder/html-to-hiccup.svg?style=svg)](https://circleci.com/gh/green-coder/html-to-hiccup)
[![Clojars Project](https://img.shields.io/clojars/v/taipei.404/html-to-hiccup.svg)](https://clojars.org/taipei.404/html-to-hiccup)
[![Cljdoc badge](https://cljdoc.org/badge/taipei.404/html-to-hiccup)](https://cljdoc.org/d/taipei.404/html-to-hiccup/CURRENT)
[![Clojars download_badge](https://img.shields.io/clojars/dt/taipei.404/html-to-hiccup?color=opal)](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
[![Clojars Project](http://clojars.org/taipei.404/html-to-hiccup/latest-version.svg)](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.