Inset text example

With block

Note that the contents should be styled separately from the component, which takes no responsibility for what it is passed.

How it looks (preview)

To publish this step by step you need to

Check for broken links

How to call this example

<%= render "govuk_publishing_components/components/inset_text", {
} do %>
  <div>
  <h2 class="govuk-heading-m" id='heading'>To publish this step by step you need to</h2>
  <a class="govuk-link" href='/foo'>Check for broken links</a>
</div>
<% end %>