pub fn code() -> CodeBuilderExpand description
Create a new code block object builder.
code()
.source("fn main() {\n println!(\"hello\");\n}")
.syntax(Syntax::Rust)
.line_numbers(true)
.build(),pub fn code() -> CodeBuilderCreate a new code block object builder.
code()
.source("fn main() {\n println!(\"hello\");\n}")
.syntax(Syntax::Rust)
.line_numbers(true)
.build(),