function _filter_markdown in Markdown 7
Same name and namespace in other branches
- 7.2 markdown.module \_filter_markdown()
Filter process callback.
1 string reference to '_filter_markdown'
- markdown_filter_info in ./
markdown.module - Implements hook_filter_info().
File
- ./
markdown.module, line 114 - Provides a Markdown input filter.
Code
function _filter_markdown($text, $format) {
if (!empty($text)) {
module_load_include('inc.php', 'markdown', 'includes/MarkdownExtra');
$text = \Michelf\MarkdownExtra::defaultTransform($text);
}
return $text;
}