diff --git a/content/zerm/index.md b/content/zerm/index.md index 7c1160e..0458733 100644 --- a/content/zerm/index.md +++ b/content/zerm/index.md @@ -45,6 +45,27 @@ fn main(n: String) { } ``` +here's a code block with long lines. does it handle well with horizontal scroll? + +```rs +struct EgregiouslyLongExampleType { + wow_these_are_some_really_long_field_names_you_probably_shouldnt_use_in_code: f64, + like_really_dont_write_code_like_this_its_making_me_sad: String, +} + +type Config = Option; // lol you should use proper types + +/// I'm being serious, please do not write code like this +impl FooBarBuzzBaz for EgregiouslyLongExampleType { + fn stupidly_long_method_name(abstract_model_factory_generator_tuple_singleton_config: Config) -> Result<(), String> { + match abstract_model_factory_generator_tuple_singleton_config { + Some(cfg) => Ok(()), + None => Err(String::from("lol what is an error type lol")) + } + } +} +``` + ### Header III > a somewhat kinda maybe large quote that maybe spans diff --git a/sass/_main.scss b/sass/_main.scss index 660895a..cbd32ee 100644 --- a/sass/_main.scss +++ b/sass/_main.scss @@ -195,6 +195,7 @@ pre { padding: 0; font-size: inherit; border: none; + overflow-x: scroll; } }