ukgovdatascience / govdown

GOV.UK Design System theme for R Markdown
https://ukgovdatascience.github.io/govdown/
Other
46 stars 5 forks source link

Disable italics and strike-through, do bold properly #18

Closed nacnudus closed 5 years ago

nacnudus commented 5 years ago

https://design-system.service.gov.uk/styles/typography/

The example is

<p class="govuk-body govuk-!-font-weight-regular">govuk-!-font-weight-regular</p>
<p class="govuk-body govuk-!-font-weight-bold">govuk-!-font-weight-bold</p>

But <span> works too.

<p>foo <span class="govuk-body govuk-!-font-weight-bold">bar</span></p>