Government Digital Service
When you edit a document in Whitehall publisher youll also see a quick guide to Markdown under Formatting on the right of the screen.
You can convert text from digital documents into basic Govspeak Markdown (which is used on GOV.UK) in Whitehall publisher or use the Govspeak converter.
Adding acronym Markdown to a document means that when a user hovers over the acronym they see the full name as alt text.
This text has acronym Markdown applied.
You should:
- add the acronym Markdown at the end of the body copy, leaving one empty line space above it
- type an asterisk, square brackets around the acronym and a colon, then the full name, for example *[DWP]: Department for Work and Pensions
- make sure there is no space between the asterisk and the square bracket
When you have more than one acronym, list:
- each one on a new line
- both plurals and singulars, but not possessives, for example DFTs
- plurals ahead of singulars, for example HGVs before HGV
See the style guide for how to use acronyms.
For addresses use the Markdown $A above and below the address text.
Addresses look like this.
Example:
$A
Put the
address in
here
$A
Do not use bold for the address title. This is not accessible because it looks like a heading and can be confusing for users of assistive technology.
There are 2 ways of using markdown to add attachments to content - inline attachments and publication box attachments.
First you need to upload your attachments. The first attachment you upload is number 1, the second number 2, and so on. The number is used in the Markdown when you want to add the attachment.
The number of an attachment does not change, even if previous attachments are deleted.
Add an inline attachment
This will add the attachment title to a sentence or bullet point as a link to download the attachment. The file type and size is shown in brackets after the title.
In the text, type [InlineAttachment:n], where n is the number of the attachment you uploaded. For example, if you want to add the first attachment you uploaded, add [InlineAttachment:1].
See an example of an inline attachment (in the Services we provide in Jerusalem section).
If you add an inline attachment to a publication format, it will also show the attachment under a documents heading above the body text.
Add a publication box
This is a more prominent link than the inline attachment. It shows the cover of the attached document, and adds the file type and size under the title.
In the text, type !@n for a publication box, where n is the number of the attachment you uploaded. For example, if you want to add the first attachment you uploaded, add !@1.
Leave a line space above and below the Markdown.
See an example of a publication box attachment (in the Information notes section).
For more information about attachments see the creating and editing content section.
Blockquote Markdown should only be used in news stories and case studies, for quotes longer than a few sentences. Do not use blockquotes in speeches.
In news and case studies:
- introduce the blockquote with a colon
- leave one empty line space above and below your blockquote
- add > in any line spaces in the quote - if you leave it out youll get separate quotes on separate lines, not one running quote
To create a bulleted list:
- use asterisks (*) to make bullets (hyphens also work)
- make sure there is one space after the asterisk
- leave 1 empty line space before the bullets start, and one after
See the style guide to check how to punctuate bullets.
Related Articles
Comments
Write a Comment
Ministerial Departmental News
- PM's Office, 10 Downing Street
- Cabinet Office
- Department for Business, Innovation and Skills
- Department for Communities and Local Government
- Department for Culture, Media and Sport
- Department for Education
- Department for Environment, Food and Rural Affairs
- Department for International Development
- Department for Transport
- Department for Work and Pensions
- Department of Energy and Climate Change
- Department of Health
- Foreign and Commonwealth Office
- HM Treasury
- Home Office
- Ministry of Defence
- Ministry of Justice
- Northern Ireland Office
- Scotland Office
- Wales Office
- See all departments