Registry / utility / lemmy-utils

lemmy-utils

JSON →
library0.19.18rscratesunverified

Utility functions for the Lemmy link aggregator for the fediverse.

# Cargo.toml [dependencies] lemmy_utils = "0.19.18"
INSTALL
IMPORT
SIG · LEMMY-UTILS
L
lemmy-utils
utilityrustv0.19.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

markdown_to_html
use lemmy_utils::utils::markdown_to_html;

Converts Markdown text to HTML using Lemmy's utility.

use lemmy_utils::utils::markdown_to_html; fn main() { let html = markdown_to_html("Hello **world**"); println!("{}", html); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.19.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lemmy-utils — cargo add lemmy-utils · libregistry