Skip to main content

block_quote

Function block_quote 

Source
pub const fn block_quote<T: Display>(content: T) -> BlockQuote<T>
Expand description

Quotes content and everything after it in the message: >>> content.

discord.js counterpart: blockQuote.

ยงExamples

use djs_formatters::block_quote;

assert_eq!(block_quote("line 1\nline 2").to_string(), ">>> line 1\nline 2");