You are here

class PhpMarkdownExtra in Markdown 3.0.x

Plugin annotation


@MarkdownParser(
  id = "michelf/php-markdown-extra",
  label = @Translation("PHP Markdown Extra"),
  url = "https://michelf.ca/projects/php-markdown/extra",
)

Hierarchy

Expanded class hierarchy of PhpMarkdownExtra

File

src/Plugin/Markdown/PhpMarkdownExtra.php, line 12

Namespace

Drupal\markdown\Plugin\Markdown
View source
class PhpMarkdownExtra extends PhpMarkdown {

  /**
   * {@inheritdoc}
   */
  protected static $parserClass = '\\Michelf\\MarkdownExtra';

}

Members

Namesort descending Modifiers Type Description Overrides
BaseParser::$allowedTags protected property The allowed HTML tags, if set.
BaseParser::$extensions protected static property MarkdownExtension plugins specific to a parser. 1
BaseParser::$filter protected property The current filter being used.
BaseParser::$filterId protected property The filter identifier.
BaseParser::$settings protected property The parser settings.
BaseParser::getAllowedTags public function Retrieves allowed HTML tags, if set. Overrides MarkdownParserInterface::getAllowedTags
BaseParser::getDescription public function Retrieves the description of the plugin, if set. Overrides MarkdownInstallablePluginInterface::getDescription
BaseParser::getFilter public function Retrieves the markdown filter plugin, if set. Overrides MarkdownParserInterface::getFilter
BaseParser::getFilterFormat public function Retrieves a filter format entity. Overrides MarkdownParserInterface::getFilterFormat
BaseParser::getGuidelines public function Builds a guide on how to use the Markdown Parser. Overrides MarkdownGuidelinesInterface::getGuidelines 1
BaseParser::getLabel public function Displays the human-readable label of the plugin. Overrides MarkdownInstallablePluginInterface::getLabel
BaseParser::getSummary public function Retrieves a short summary of what the MarkdownParser does. Overrides MarkdownParserInterface::getSummary
BaseParser::getUrl public function Retrieves the URL for the parser, if any. Overrides MarkdownParserInterface::getUrl
BaseParser::getVersion public function The current version of the parser. Overrides MarkdownInstallablePluginInterface::getVersion
BaseParser::isInstalled public function Indicates whether the parser is installed. Overrides MarkdownInstallablePluginInterface::isInstalled
BaseParser::load public function Loads a cached ParsedMarkdown object. Overrides MarkdownParserInterface::load
BaseParser::loadPath public function Loads a cached ParsedMarkdown object for a local file system path. Overrides MarkdownParserInterface::loadPath
BaseParser::loadUrl public function Loads a cached ParsedMarkdown object for a URL. Overrides MarkdownParserInterface::loadUrl
BaseParser::parsePath public function Parses markdown from a local file into HTML. Overrides MarkdownParserInterface::parsePath
BaseParser::parseUrl public function Parses markdown from an external URL into HTML. Overrides MarkdownParserInterface::parseUrl
BaseParser::setAllowedTags public function Sets the allowed HTML tags. Overrides MarkdownParserInterface::setAllowedTags
BaseParser::tips public function Generates a filter's tip. Overrides MarkdownParserInterface::tips
BaseParser::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase::__construct
DependencySerializationTrait::$_entityStorages protected property
DependencySerializationTrait::$_serviceIds protected property
DependencySerializationTrait::__sleep public function 2
DependencySerializationTrait::__wakeup public function 2
MarkdownParserBenchmarkTrait::$benchmark protected static property Flag indicating whether this is currently in the process of a benchmark.
MarkdownParserBenchmarkTrait::benchmark public function
MarkdownParserBenchmarkTrait::benchmarkAverages public function
MarkdownParserBenchmarkTrait::benchmarkParse public function
MarkdownParserBenchmarkTrait::benchmarkRender public function
MarkdownParserBenchmarkTrait::parse public function
MessengerTrait::$messenger protected property The messenger. 27
MessengerTrait::messenger public function Gets the messenger. 27
MessengerTrait::setMessenger public function Sets the messenger.
PhpMarkdown::$parsers protected static property Markdown parsers, keyed by filter identifier.
PhpMarkdown::convertToHtml public function Converts Markdown into HTML. Overrides BaseParser::convertToHtml
PhpMarkdown::getParser public function Retrieves the PHP Markdown parser.
PhpMarkdown::installed public static function Indicates whether the parser is installed. Overrides BaseParser::installed
PhpMarkdown::version public static function Retrieves the version of the installed parser. Overrides BaseParser::version
PhpMarkdownExtra::$parserClass protected static property The parser class. Overrides PhpMarkdown::$parserClass
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 2
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
StringTranslationTrait::$stringTranslation protected property The string translation service. 4
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.