1. Component Guide
  2. Govspeak content
  3. Inline attachment
Govspeak content example

Inline attachment

Legacy inline attachment embed used by Whitehall and Specialist Publisher

How it looks (preview)

testing my attachment testing (CSV, 65.4KB) works in the middle of copy.

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {
} do %>
  <p>testing my attachment <span class="inline-attachment" id="attachment_1399340">
  <a href="/government/uploads/system/uploads/attachment_data/file/498071/PHE_Payments_over__25k_Jun_15.csv">testing</a>
  (<span class="type"><abbr title="Comma-separated Values">CSV</abbr></span>, <span class="file-size">65.4KB</span>)</span> works in the middle of copy.
<% end %>