プロジェクト
Projects Using
概要
型チェックに対応した非常に高速なHTMLマクロクレートです。
Web・アプリ開発できること
- Compile-time type checking for element names/attributes, including extensible support for custom frameworks like htmx and Alpine.js
- #![no_std] support
- Extremely fast, using lazy rendering to minimize allocation
- Integration with all major web frameworks
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルhypertext
A blazing fast type checked HTML macro crate.
Features
- Compile-time type checking for element names/attributes, including extensible support for custom frameworks like htmx and Alpine.js
#![no_std]support- Extremely fast, using lazy rendering to minimize allocation
- Integration with all major web frameworks
Example
use hypertext::prelude::*;
let shopping_list = ["milk", "eggs", "bread"];
let shopping_list_maud = maud! {
div {
h1 { "Shopping List" }
ul {
@for (i, item) in (1..).zip(shopping_list) {
li.item {
input #{ "item-" (i) } type="checkbox";
label for={ "item-" (i) } { (item) }
}
}
}
}
}
.render();
// or, alternatively:
let shopping_list_rsx = rsx! {
<div>
<h1>Shopping List</h1>
<ul>
@for (i, item) in (1..).zip(shopping_list) {
<li class="item">
<input id={ "item-" (i) } type="checkbox">
<label for={ "item-" (i) }>(item)</label>
</li>
}
</ul>
</div>
}
.render();
Projects Using hypertext
- vidhan.io (my website!)
- Lipstick on a pig -- a website for hosting volunteer-built tarballs for KISS Linux
Make a pull request to list your project here!
関連プロジェクトを探す
読み込み中…