elemi 1.0.1-beta
A simple HTML creation helper.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
elemi
Elemi is a tiny, dependency free library to make writing sanitized HTML a bit easier.
Check the source code or the documentation to learn how to use it!
import elemi;
auto document = Element.HTMLDoctype ~ elem!"html"(
elem!"head"(
elem!"title"("Hello, World!"),
Element.MobileViewport,
Element.EncodingUTF8,
),
elem!"body"(
// All input is sanitized.
"<Welcome to my website!>"
),
);
- Registered by Dominik Drożak
- 1.0.1-beta released 3 months ago
- soaku/elemi
- BSL-1.0
- Copyright © 2020, soaku
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.1-beta 2020-Nov-02 1.0.0-beta 2020-Nov-01 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
3 downloads total
-
- Score:
- 0.0
- Short URL:
- elemi.dub.pm