You are here

markdown.api.php in Markdown 3.0.x

Same filename and directory in other branches
  1. 8.2 markdown.api.php

Hooks and alters provided by the Markdown module.

File

markdown.api.php
View source
<?php

/**
 * @file
 * Hooks and alters provided by the Markdown module.
 */

/**
 * Allows modules to alter the list of incompatible filters.
 *
 * @param array $compatibleFilters
 *   An associative array of compatible filters, where the key is the filter
 *   identifier and the value is a boolean: TRUE if compatible, FALSE otherwise.
 */
function hook_markdown_compatible_filters_alter(array &$compatibleFilters) {

  // Re-enable the HTML Corrector filter as compatible.
  $compatibleFilters['filter_htmlcorrector'] = TRUE;
}

Functions

Namesort descending Description
hook_markdown_compatible_filters_alter Allows modules to alter the list of incompatible filters.