Skip to content

Commit

Permalink
Inset text - close codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave House authored and igloosi committed Sep 28, 2018
1 parent 8bf14c9 commit ea50b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/inset-text/index.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ layout: layout-pane.njk

{% from "_example.njk" import example %}

{{ example({group: "components", item: "inset-text", example: "default", size: "s"}) }}
{{ example({group: "components", item: "inset-text", example: "default", html: true, nunjucks: true, size: "s"}) }}

## When to use this component

Expand All @@ -31,7 +31,7 @@ Use inset text very sparingly - it’s less effective if it’s overused.

There are 2 ways to use the inset text component. You can use HTML or, if you’re using Nunjucks or the GOV.UK Prototype Kit, you can use the Nunjucks macro.

{{ example({group: "components", item: "inset-text", example: "default", html: true, nunjucks: true, open: true, size: "s"}) }}
{{ example({group: "components", item: "inset-text", example: "default", html: true, nunjucks: true, open: false, size: "s", id: "default-2"}) }}

## Research on this component

Expand Down

0 comments on commit ea50b4e

Please sign in to comment.