💡 Retoques en los comentarios
This commit is contained in:
parent
3690087005
commit
cffffe02d6
9 changed files with 14 additions and 15 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue