{"repo":"ciffelia/discord-md","free":true,"listed":false,"github":"https://github.com/ciffelia/discord-md","clone":"git clone https://github.com/ciffelia/discord-md.git","description":"Parser and generator for Discord's markdown, written in Rust","language":"Rust","stars":17,"topics":["rust","discord","markdown","rust-crate","crate","parser"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"discord-md [![CI status][ci badge]][ci link] [![crate version][crates.io badge]][crates.io link] [![docs online][docs badge]][docs link] [![MIT or Apache 2.0 Licenses][license badge]][license link] Parser and generator for Discord's markdown, written in Rust Example Parsing Generating Features - Minimal dependencies (only nom and derive more) - Supports the following syntax: - Italics ( italics , italics ) - Bold ( bold ) - Underline ( underline ) - Strikethrough ( strikethrough ) - Spoiler ( spoiler ) - One line code ( one line code ) - Multi line code sh echo \"multi line\" echo \"code\" - Block Quote (generator only) Installation Add the following to your Cargo.toml file: Documentation [Available at docs.rs][docs link] Parser limitations The parser tries to mimic the behavior of the official Discord client's markdown parser, but it's not perfect. The following is the list of known limitations. - Block quotes are not parsed. will be treated as plain text. - Nested emphasis, like italics bold italics italics , may not be parsed properly. - Intraword emphasis may not be handled properly. The parser treats foo bar baz as emphasis, while Discord's parser does not. - Escaping sequence will be treated as plain text. License Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option. Contribution Unless you explicitly state otherwise, any contribution","default_branch":null,"files":null,"tree":[],"storefront":"/r/ciffelia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ciffelia/discord-md/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}