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.

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: