Govspeak content (HTML Publications): Heading level 2

To display long form text with numbered parts, which has been converted from Govspeak

This component calls the standard Govspeak component, and layers a set of overriding styles on top. Styles for numbered parts are added, and heading sizes are increased.

Requires Slimmer >= 9.1.0 for nested component support.

How to call this component

<%= render partial: 'govuk_component/govspeak_html_publication', locals: { content: "<h2> <span class=\"number\">1. </span>Executive summary </h2> <p>This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.</p> " } %>

How this component looks

1. Executive summary

This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.