[pagetop] Nuevas macros ...string! y hm! por kv!

This commit is contained in:
Manuel Cillero 2024-12-30 00:53:16 +01:00
parent 0a6d343db8
commit 4db4d791a5
5 changed files with 120 additions and 21 deletions

View file

@ -122,7 +122,7 @@ pub enum HljsLang {
static HLJS_LANGS: LazyLock<HashMap<HljsLang, &'static str>> = LazyLock::new(|| {
use HljsLang::*;
kv![
hm![
// Common languages.
Bash => "bash",
C => "c",

View file

@ -121,7 +121,7 @@ pub enum HljsTheme {
static HLJS_THEMES: LazyLock<HashMap<HljsTheme, &'static str>> = LazyLock::new(|| {
use HljsTheme::*;
kv![
hm![
A11yDark => "a11y-dark",
A11yLight => "a11y-light",
Agate => "agate",