dioxus-code 0.1.0

Syntax-highlighted code blocks for Dioxus.
1
2
3
pub fn greet(name: &str) -> String {
    format!("hello, {name}")
}