1. Static Component Guide
  2. Govspeak content
  3. With rich govspeak

Govspeak content example

With rich govspeak

How to call this example

<%= render "govuk_component/govspeak" {
  rich_govspeak: true,
  content: "<p>This content uses rich govspeak and has <strong>text in strong tags</strong> that are styled as bold</p>
    "
} %>

How it looks

This content uses rich govspeak and has text in strong tags that are styled as bold