Skip to content

Commit 3d7bf71

Browse files
Add extended blockquote syntax to markdown guide (#219)
* Add guide for quotations with attribution * Add link to upstream docs
1 parent 0231b35 commit 3d7bf71

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

app/guide/using-markdown.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,20 @@ This is shown like this:
110110
>
111111
> Multidisciplinary teams could offer wider health advice and interventions.
112112
113+
### Quotations with attribution
114+
115+
You can attribute a quote to its author by adding two hyphens (`--`) before the attribution you want to add.
116+
117+
```md
118+
> No society can legitimately call itself civilised if a sick person is denied aid because of lack of means.
119+
> -- Nye Bevan, 1952
120+
```
121+
122+
This is shown like this:
123+
124+
> No society can legitimately call itself civilised if a sick person is denied aid because of lack of means.
125+
> -- Nye Bevan, 1952
126+
113127
## Images
114128

115129
To embed an image, use a similar combination of square and round brackets as with links, but starting first with a exclamation mark (`!`).
@@ -163,3 +177,7 @@ These are the questions we included in the survey:
163177
| Phone number | Text | Optional |
164178
| Consent for future contact | Boolean | Required |
165179
```
180+
181+
---
182+
183+
See [NHS.UK Eleventy markdown guide](https://x-govuk.github.io/nhsuk-eleventy-plugin/example/markdown/) for the full list of options.

0 commit comments

Comments
 (0)