✨ [pagetop] Nuevas macros ...string! y hm! por kv!
This commit is contained in:
parent
0a6d343db8
commit
4db4d791a5
5 changed files with 120 additions and 21 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue