💡 Retoques en los comentarios

This commit is contained in:
Manuel Cillero 2024-12-28 11:18:48 +01:00
parent d5e275ea73
commit 1f95f48566
9 changed files with 14 additions and 15 deletions

View file

@ -10,7 +10,7 @@ impl PackageTrait for HljsSample {
fn actions(&self) -> Vec<ActionBox> {
actions![
// Switch the HighlightJS theme once the body page is ready.
// Cambia el tema de HighlightJS una vez que la página está lista.
action::page::AfterRenderBody::new(|page: &mut Page| page
.context()
.set_hljs_theme(&HljsTheme::Sunburst))