You are here

function _markdown_process in Markdown 6

Same name and namespace in other branches
  1. 5 markdown.module \_markdown_process()

Filter process callback.

1 call to _markdown_process()
markdown_filter in ./markdown.module
Implementation of hook_filter().

File

./markdown.module, line 106

Code

function _markdown_process($text, $format) {
  if (!empty($text)) {
    include_once drupal_get_path('module', 'markdown') . '/markdown.php';
    $text = Markdown($text);
  }
  return $text;
}