mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-02 21:49:22 +00:00
4 lines
118 B
Rust
4 lines
118 B
Rust
|
pub fn markdown_to_html(text: &str) -> String {
|
||
|
comrak::markdown_to_html(text, &comrak::ComrakOptions::default())
|
||
|
}
|