Skip to main content

highlight

Function highlight 

Source
pub fn highlight(
    highlighted: &Highlighted,
    comment: &str,
    author: PublicKey,
) -> EventBuilder
Expand description

highlighted as an event of author’s, yet to be signed, with comment for what author says of it: a highlight (NIP-84), which says the passage, and names the page it is from as its source. What is said of it, if anything is, is its comment tag, with the tags that text calls for; those it mentions are marked as mentioned, which tells them from whoever wrote what is highlighted.