1. Static Component Guide
  2. Govspeak content
  3. Example

Govspeak content example

Example

How to call this example

<%= render "govuk_component/govspeak" {
  content: "<div class=\"example\">
      <p>
        <strong>Example</strong>
        This is an indented example block.<br/>
        It may span multiple lines, <a href=\"#\">contain links</a>.
      </p>
      <p>
        It may even span multiple paragraphs.
      </p>
    </div>
    "
} %>

How it looks

Example This is an indented example block.
It may span multiple lines, contain links.

It may even span multiple paragraphs.