diff --git a/src/config/style.rs b/src/config/style.rs index a5b69aa3..f848b051 100644 --- a/src/config/style.rs +++ b/src/config/style.rs @@ -63,7 +63,10 @@ impl From for StyleConfig { variables: Some(style), } } else { - Self { additional_css: None, variables: None } + Self { + additional_css: None, + variables: None, + } } } } diff --git a/src/renderer/mdzk_renderer.rs b/src/renderer/mdzk_renderer.rs index 588df797..55b24237 100644 --- a/src/renderer/mdzk_renderer.rs +++ b/src/renderer/mdzk_renderer.rs @@ -78,7 +78,6 @@ impl Renderer for HtmlMdzk { .context("Unexpected error when constructing destination path")?; } - // Create data for all notes let mut data = BTreeMap::new(); data.insert( @@ -220,7 +219,6 @@ impl Renderer for HtmlMdzk { } } - Ok(()) } } @@ -267,7 +265,10 @@ fn fix_link(dest: CowStr) -> CowStr { } const FONTS: [(&str, &[u8]); 62] = [ - ("Inter.var.woff2", include_bytes!("theme/css/fonts/Inter.var.woff2")), + ( + "Inter.var.woff2", + include_bytes!("theme/css/fonts/Inter.var.woff2"), + ), ( "Source_Code_Pro_v11_All_Charsets_500.woff2", include_bytes!("theme/css/fonts/Source_Code_Pro_v11_All_Charsets_500.woff2"),