diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..be838d8 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.72.0" +components = ["rustfmt", "clippy"] diff --git a/src/lib.rs b/src/lib.rs index 39ebf7c..21536fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -237,7 +237,7 @@ const DEFAULT_THEME_LIGHT: &str = "base16-ocean.light"; const DEFAULT_THEME_DARK: &str = "base16-ocean.dark"; #[derive(Debug)] -struct CommonMarkOptions { +pub struct CommonMarkOptions { indentation_spaces: usize, max_image_width: Option, show_alt_text_on_hover: bool,