---
source: pulldown-cmark-mdcat/tests/render.rs
expression: "render_to_string(markdown_file, &dumb_settings)"
input_file: pulldown-cmark-mdcat/tests/markdown/samples/code_blocks.md
---
Code blocks without syntax highlighting:
Some plain
code block
fooo
Or with syntax highlighting, eg, Rust:
fn main() {
println!("Hello world")
}
Or Scala:
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}