Crates.io | merriam-webster-transformers |
lib.rs | merriam-webster-transformers |
version | 0.1.0-alpha |
source | src |
created_at | 2023-10-14 05:31:06.323734 |
updated_at | 2023-10-14 05:31:06.323734 |
description | Parsers and transformers for non-standard text markup in Merriam-Webster's Collegiate Dictionary API |
homepage | https://github.com/fyko/merriam-webster |
repository | https://github.com/fyko/merriam-webster |
max_upload_size | |
id | 1002939 |
size | 15,655 |
Parsers and transformers for non-standard text markup in Merriam-Webster's Collegiate Dictionary API
Coming Soon
use merriam_webster_transformers::{parse_string, transformers::Markdown};
let input = "{it}monitors{\/it} and instructors for troops green in the art of war";
let parsed = parse_string(input.to_string())?;
let transformed = Markdown::transform(parsed)?;
println!("{transformed}");
// *monitors* and instructors for troops green in the art of war