]> Lady’s Gitweb - Lemon/blobdiff - README.markdown
[window] Polyfill top‐level D·O·M interfaces
[Lemon] / README.markdown
index 716349138eea24f4782fecddb8bfcc7ea275c060..bfde47be6cacc7b9dd21c7118621f80fe69942dc 100644 (file)
@@ -8,8 +8,11 @@ import Lemon from "./mod.js";
 const { p, a, em } = Lemon;
 
 document.body.append(
 const { p, a, em } = Lemon;
 
 document.body.append(
-  p`This is a ${em`very cool`} paragraph made with ${a({
-    href: "https://gitlab.com/kibigo/Lemon",
-  })`Lemon`}.`,
+  p`This is a ${em`very cool`} paragraph made with ${(
+    a
+      .class("gitlab-link")
+      .style("color: orangered")
+      .href("https://gitlab.com/kibigo/Lemon")
+  )`Lemon`}.`,
 );
 ```
 );
 ```
This page took 0.018992 seconds and 4 git commands to generate.