You are here

function markdown_filter_info in Markdown 7

Same name and namespace in other branches
  1. 7.2 markdown.module \markdown_filter_info()

Implements hook_filter_info().

File

./markdown.module, line 21
Provides a Markdown input filter.

Code

function markdown_filter_info() {
  $filters['filter_markdown'] = array(
    'title' => t('Markdown'),
    'description' => t('Allows content to be submitted using Markdown, a simple plain-text syntax that is filtered into valid XHTML.'),
    'process callback' => '_filter_markdown',
    'settings callback' => '_filter_markdown_settings',
    'tips callback' => '_filter_markdown_tips',
  );
  return $filters;
}