Skip to content

Commit

Permalink
WIP update govspeak docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andysellick committed Feb 7, 2025
1 parent bf823a8 commit 7adf08d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/views/govuk_publishing_components/components/docs/govspeak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,20 @@ examples:
</li>
<li>three</li>
</ul>
typography:
description: An example of the elements shown above to demonstrate their spacing.
data:
block: |
<h2>Heading 2</h2>
<p>Paragraph of text, containing some words, such as the word 'words'. I know all the words.</p>
<h3>Heading 3</h3>
<p>Another paragraph of text, containing some more words, now including 'including'. These words are longer and more exciting, particularly 'exciting', which is genuinely a thrill to see on such a page as this.</p>
<ul>
<li>An unordered list item.</li>
<li>Another unordered list item.</li>
<li>Yet another unordered list item.</li>
</ul>
<p>A paragraph of text following the list. I'm not going to talk about the words anymore.</p>
ordered_lists_types:
description: |
Govspeak/markdown does not generate HTML with type and start attributes,
Expand Down

0 comments on commit 7adf08d

Please sign in to comment.