You are here

function markdown_block_view in Markdown 7

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

Implements hook_block_view().

File

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

Code

function markdown_block_view($delta = '') {
  $block = array();
  switch ($delta) {
    case 'markdown_help':
      $block['title'] = t('Markdown filter tips');
      $block['content'] = _markdown_help_block();
      break;
  }
  return $block;
}