]> Lady’s Gitweb - Lemon/blob - README.markdown
Add method chaining syntax for attributes
[Lemon] / README.markdown
1 # 🍋🏷 Lemon
2
3 ## Usage
4
5 ```js
6 import Lemon from "./mod.js";
7
8 const { p, a, em } = Lemon;
9
10 document.body.append(
11 p`This is a ${em`very cool`} paragraph made with ${(
12 a
13 .class("gitlab-link")
14 .style("color: orangered")
15 .href("https://gitlab.com/kibigo/Lemon")
16 )`Lemon`}.`,
17 );
18 ```
This page took 0.145275 seconds and 5 git commands to generate.