https://github.com/baskeboler/html2hiccup
split text editor that converts html to hiccup format
https://github.com/baskeboler/html2hiccup
converter hiccup html
Last synced: 4 days ago
JSON representation
split text editor that converts html to hiccup format
- Host: GitHub
- URL: https://github.com/baskeboler/html2hiccup
- Owner: baskeboler
- License: epl-1.0
- Created: 2022-07-19T04:31:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T11:03:48.000Z (over 3 years ago)
- Last Synced: 2025-11-21T22:02:15.479Z (7 months ago)
- Topics: converter, hiccup, html
- Language: Clojure
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# html2hiccup
[](https://github.com/baskeboler/html2hiccup/actions/workflows/clojure.yml)
convert html snippets to hiccup with ease
## Installation
Download from https://github.com/html2hiccup/html2hiccup
## Usage
FIXME: explanation
Run the project directly, via `:exec-fn`:
$ clojure -X:run-x
Run the project, overriding the name to be greeted:
$ clojure -X:run-x :name '"Someone"'
Run the project directly, via `:main-opts` (`-m html2hiccup.html2hiccup`):
$ clojure -M:run-m
Hello, World!
Run the project, overriding the name to be greeted:
$ clojure -M:run-m Via-Main
Hello, Via-Main!
Run the project's CI pipeline and build an uberjar (this will fail until you edit the tests to pass):
$ clojure -T:build ci
This will produce an updated `pom.xml` file with synchronized dependencies inside the `META-INF`
directory inside `target/classes` and the uberjar in `target`. You can update the version (and SCM tag)
information in generated `pom.xml` by updating `build.clj`.
If you don't want the `pom.xml` file in your project, you can remove it. The `ci` task will
still generate a minimal `pom.xml` as part of the `uber` task, unless you remove `version`
from `build.clj`.
Run that uberjar:
$ java -jar target/html2hiccup-0.1.0-SNAPSHOT.jar
If you remove `version` from `build.clj`, the uberjar will become `target/html2hiccup-standalone.jar`.
## Options
FIXME: listing of options this app accepts.
## Screenshots

### Bugs
...
### Any Other Sections
### That You Think
### Might be Useful
clojure -T:build test
## License
Copyright © 2022 Victor
_EPLv1.0 is just the default for projects generated by `clj-new`: you are not_
_required to open source this project, nor are you required to use EPLv1.0!_
_Feel free to remove or change the `LICENSE` file and remove or update this_
_section of the `README.md` file!_
Distributed under the Eclipse Public License version 1.0.