Skip to main content

quote

Function quote 

Source
pub const fn quote<T: Display>(content: T) -> Quote<T>
Expand description

Quotes one line: > content.

Only the first line is quoted; block_quote quotes everything after it.

discord.js counterpart: quote.

ยงExamples

use djs_formatters::quote;

assert_eq!(quote("well said").to_string(), "> well said");