You are here

protected function MarkdownHelp::markdownHelpContent in Markdown 8

1 call to MarkdownHelp::markdownHelpContent()
MarkdownHelp::build in src/Plugin/Block/MarkdownHelp.php
Builds and returns the renderable array for this block plugin.

File

src/Plugin/Block/MarkdownHelp.php, line 26

Class

MarkdownHelp
Provides the MarkdownHelp block.

Namespace

Drupal\markdown\Plugin\Block

Code

protected function markdownHelpContent() {
  return '<pre>' . t("\n## Header 2 ##\n### Header 3 ###\n#### Header 4 ####\n##### Header 5 #####\n(Hashes on right are optional)\n\nLink [Drupal](http://drupal.org)\n\nInline markup like _italics_,\n **bold**, and `code()`.\n\n> Blockquote. Like email replies\n>> And, they can be nested\n\n* Bullet lists are easy too\n- Another one\n+ Another one\n\n1. A numbered list\n2. Which is numbered\n3. With periods and a space\n\nAnd now some code:\n    // Code is indented text\n    is_easy() to_remember();") . '</pre>';
}