dioxus-code 0.1.1

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