1. Static Component Guide
  2. Govspeak content
  3. Legislative lists

Govspeak content example

Legislative lists

How to call this example

<%= render "govuk_component/govspeak" {
  content: "<h2>ordered list:</h2>
    <ol class=\"legislative-list\">
      <li>one</li>
      <li>two</li>
      <li>three</li>
    </ol>
    "
} %>

How it looks

ordered list:

  1. one
  2. two
  3. three