TextformatterMarkdownExtra::markdownSafe()
Given a string, return a version processed with markdown in safe mode
Usage
// basic usage
$string = $textformatterMarkdownExtra->markdownSafe($str);
// usage with all arguments
$string = $textformatterMarkdownExtra->markdownSafe($str, int $flavor = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
$str | ||
$flavor (optional) | int | Flavor of markdown Default:parsedown extra |
Return value
string
Processed string
TextformatterMarkdownExtra methods and properties
API reference based on ProcessWire core version 3.0.252