From b574edd5c76a32ee1092218c96e80935e3fc3cc3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 20 Jun 2024 21:52:47 +0200 Subject: [PATCH] enable img lazy loading --- config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.toml b/config.toml index 391a2d4..49d085f 100644 --- a/config.toml +++ b/config.toml @@ -53,6 +53,11 @@ anchors = "on" internal_level = "warn" external_level = "error" +# Whether to set decoding="async" and loading="lazy" for all images +# When turned on, the alt text must be plain text. +# For example, `![xx](...)` is ok but `![*x*x](...)` isn’t ok +lazy_async_image = true + [extra] author = "OniriCorpe" display_author = false