mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-21 08:29:27 -04:00
All paragraphs should have class="govuk-body", or be otherwise custom-styled. This commit adds some extra checks to our test fixture that looks for paragraphs that don’t have any styling. Our test coverage is pretty good, so this should check almost all pages, and prevent regressions. I’ve done this in such a way that it can be extended for other elements (e.g. links) in the future.
32 lines
662 B
HTML
32 lines
662 B
HTML
<h2 class="heading-medium">Formatting</h2>
|
|
<p class="govuk-body">
|
|
To put a heading in your template, use a hash:
|
|
</p>
|
|
<div class="panel panel-border-wide">
|
|
<p class="govuk-body">
|
|
# This is a heading
|
|
</p>
|
|
</div>
|
|
<p class="govuk-body">
|
|
To make bullet points, use asterisks:
|
|
</p>
|
|
<div class="panel panel-border-wide">
|
|
<p class="govuk-body">
|
|
* point 1<br/>
|
|
* point 2<br/>
|
|
* point 3<br/>
|
|
</p>
|
|
</div>
|
|
<p class="govuk-body">
|
|
To insert a page break, use three asterisks:
|
|
</p>
|
|
<div class="panel panel-border-wide">
|
|
<p class="govuk-body">
|
|
Content on page 1<br/>
|
|
<br/>
|
|
***<br/>
|
|
<br/>
|
|
Content on page 2<br/>
|
|
</p>
|
|
</div>
|