Skip to content

Conversation

@peteryates
Copy link
Member

Most people type straight apostrophes because they're actually on peoples' keyboards. We ought to be displaying fancy/curly ones where possible.

This change enables RedCarpet's SmartyPants implementation so we'll benefit from it everywhere we render blocks of markdown.

Most people type straight apostrophes because they're actually on
peoples' keyboards[0]. We ought to be displaying fancy/curly ones where
possible[1]

This change enables RedCarpet's SmartyPants implementation[2] so we'll
benefit from it everywhere we render blocks of markdown.

[0] https://smartquotesforsmartpeople.com/
[1] https://design.tax.service.gov.uk/hmrc-content-style-guide/
[2] https://github.com/vmg/redcarpet?tab=readme-ov-file#also-now-our-pants-are-much-smarter
@peteryates peteryates merged commit 40d3c57 into main Mar 10, 2025
3 checks passed
@peteryates peteryates deleted the enable-smartypants-by-default branch March 10, 2025 09:51
avinhurry added a commit to DFE-Digital/register-early-career-teachers-public that referenced this pull request Apr 10, 2025
Smart quotes have been enabled by default in: DFE-Digital/govuk-markdown#41
avinhurry added a commit to DFE-Digital/register-early-career-teachers-public that referenced this pull request Apr 10, 2025
Smart quotes have been enabled by default in: DFE-Digital/govuk-markdown#41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants