From d17dcb2859979ac63f17ad87917dc20ea5dff4b3 Mon Sep 17 00:00:00 2001
From: jkmnt
Date: Wed, 7 Aug 2024 16:22:14 +0300
Subject: [PATCH] Deployed 818b98f with MkDocs version: 1.6.0
---
api/index.html | 2 +-
lint/index.html | 6 +++---
sitemap.xml | 12 ++++++------
sitemap.xml.gz | Bin 243 -> 243 bytes
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/api/index.html b/api/index.html
index 2861d8e..2f644b6 100755
--- a/api/index.html
+++ b/api/index.html
@@ -601,7 +601,7 @@ attr
Keywords overrides the dictionary.
True
values are rendered as just the name, e.g hidden
-False
values are discarded
+False
and None
values are discarded
- strings are rendered as name-value pairs, e.g.
type="checkbox"
- numbers are interpolated, e.g.
tabindex="-1"
diff --git a/lint/index.html b/lint/index.html
index 7d9ddf9..b73b5d9 100755
--- a/lint/index.html
+++ b/lint/index.html
@@ -461,14 +461,14 @@ Annotating the code
def Widget(header: Safe, body: Safe) -> Safe:
return ht.m(f"<div>{ header } { body }</div>")
-if/else
ternary if both branches are Safe
+
if/else
ternary if both branches are safe
ht.m(f"<div>{ 'a' if some_conditional else 'b' }</div>")
-or
expression if left operands are Safe
(or None
) and right operand is Safe
+
or
expression if left operands are safe (or None
) and right operand is safe
@@ -491,7 +491,7 @@
Verifying the markup
There are a few things to be aware of:
-
-
The html5lib makes a distinction between complete HTML document and fragment. Well-formed document should contain the <!DOCTYPE html><html>...</html>
tags. Use ht.document
function to wrap the top-level template. Use ht.m
for the partials/components.
+The html5lib makes a distinction between HTML document and fragment. Well-formed document should contain the <!DOCTYPE html><html>...</html>
tags. Use ht.document
function to wrap the top-level template. Use ht.m
for the partials/components.
-
html5lib will complain for some standalone fragments invalid outside of the parent tags. Notable example is the <tr>
tags allowed only inside <table>
.
diff --git a/sitemap.xml b/sitemap.xml
index 710cca9..9181cef 100755
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2,32 +2,32 @@
https://jkmnt.github.io/htmf/
- 2024-08-06
+ 2024-08-07
daily
https://jkmnt.github.io/htmf/api/
- 2024-08-06
+ 2024-08-07
daily
https://jkmnt.github.io/htmf/format/
- 2024-08-06
+ 2024-08-07
daily
https://jkmnt.github.io/htmf/highlight/
- 2024-08-06
+ 2024-08-07
daily
https://jkmnt.github.io/htmf/lint/
- 2024-08-06
+ 2024-08-07
daily
https://jkmnt.github.io/htmf/rant/
- 2024-08-06
+ 2024-08-07
daily
\ No newline at end of file
diff --git a/sitemap.xml.gz b/sitemap.xml.gz
index d68410b47b425a42fe5d366d01b8927d3c781c40..15860981b606f2d11b12bc16e445e54edfcbf597 100755
GIT binary patch
delta 29
lcmey&_?eMizMF&NLf@u|?DC9@CaNFdh@Z{9Nq~ic0RWx_31a{N
delta 29
lcmey&_?eMizMF$1z;@$Ac6r7X6V;D!)T{~rB*4PJ005Gu2~hw5