KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
htmlisp
★ 19
Open GitHub ↗
Compiles lisp style html into normal html
Download README (.md)
Explore Similar Repositories
meituan
:
基于Python实现的美团店铺信息爬虫
coindesk-ticker
:
A PHP library to get real-time prices from CoinDesk. https://github.com/shahradelahi/coindesk-ticker
Zardy-V1
:
Oldest version of zardy
zigtracer
:
A simple path-tracer in Zig
GramUS
:
An extensible and minimal Telegram userbot made with GramJS.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
htmlisp
?
Download (.md)
# HTMLisp ## What is this? A compiler that takes in lisp style html and outputs normal html ## Why is this? To annoy a few people ## How do I use this? * CD into cloned repo * Compile: `cargo build --release` * Copy executable to `/usr/bin` (`sudo cp target/release/htmlisp /usr/bin`) * Run: `htmlisp -i <path to htmlisp input file> -o <path to html output file>` or `htmlisp -w <directory to watch>` ## Example: (example.htmlisp) ```lisp (html (head (meta :charset "UTF-8") (meta :name "viewport" :content "width=device-width, initial-scale=1")) (body (h1 "Hello World") (p "This is a paragraph"))) ``` compiled using `htmlisp --input example.htmlisp --output example.html` will produce (example.html) ```html <html><head><meta charset="UTF-8"></meta><meta name="viewport" content="width=device-width, initial-scale=1"></meta></head><body><h1>Hello World</h1><p>This is a paragraph</p></body></html> ``` or with `htmlisp --prettify --input example.htmlisp --output` (example.html) ```html <html> <head> <meta charset="UTF-8"></meta> <meta name="viewport" content="width=device-width, initial-scale=1"></meta> </head> <body> <h1> Hello World </h1> <p> This is a paragraph </p> </body> </html> ```