Parsedown::text( $text )

Description

Source

File: bp-help/vendors/parsedown/Parsedown.php

24
25
26
27
28
29
30
31
32
33
34
35
function text($text)
{
    $Elements = $this->textElements($text);
 
    # convert to markup
    $markup = $this->elements($Elements);
 
    # trim line breaks
    $markup = trim($markup, "\n");
 
    return $markup;
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.