Govspeak is our markdown-derived mark-up language. # Usage Install the gem gem install govspeak or add it to your Gemfile gem "govspeak", "~> 0.8.9" then create a new document require 'rubygems' require 'govspeak' doc = Govspeak::Document.new "^Test^" puts doc.to_html # Extensions In addition to the [standard Markdown syntax](http://daringfireball.net/projects/markdown/syntax "Markdown syntax"), we have added our own extensions. ## Callouts ### Information callouts ^This is an information callout^ creates a callout with an info (i) icon.

This is an information callout

### Warning callouts %This is a warning callout% creates a callout with a warning or alert (!) icon

This is a warning callout

### Example callout $E **Example**: Open the pod bay doors $E creates an example box

Example: Open the pod bay doors

## Highlights ### Advisory @This is a very important message or warning@ highlights the enclosed text in yellow

This is a very important message or warning

### Answer {::highlight-answer} The VAT rate is *20%* {:/highlight-answer} creates a large pink highlight box with optional preamble text and giant text denoted with `**`

The standard VAT rate is 20%

## Points of Contact ### Contact $C **Student Finance England** **Telephone:** 0845 300 50 90 **Minicom:** 0845 604 44 34 $C creates an contact box

Student Finance England
Telephone: 0845 300 50 90
Minicom: 0845 604 44 34

### Address $A Hercules House Hercules Road London SE1 7DU $A creates an address box

Hercules House
Hercules Road
London SE1 7DU

## Downloads $D [An example form download link](http://example.com/ "Example form") Something about this form download $D creates a file download box

An example form download link.

## Steps Steps can be created similar to an ordered list: s1. numbers s2. to the start s3. of your list Note that steps need an extra line break after the final step (ie. two full blank lines) or other markdown directly afterwards won't work. If you have a subhead after - add a line break after this. ## Maps Static Maps can be embedded by wrapping the URL in double parenthesis. ((http://maps.google.co.uk/maps?q=Winkfield+Rd,+Windsor,+Berkshire+SL4+4AY&hl=en&sll=53.800651,-4.064941&sspn=17.759517,42.055664&vpsrc=0&z=14)) ## Abbreviations Abbreviations can be defined at the end of the document, and any occurrences elswhere in the document will wrapped in an `` tag. They are parsed in the order in which they are defined, so `PCSOs` should be defined before `PCSO`, for example. Special rules apply if you’re exporting a vehicle outside the EU. *[EU]:European Union becomes

Special rules apply if you’re exporting a vehicle outside the EU.

## Devolved content :england:content goes here:england: :scotland:content goes here:scotland: :london:content goes here:london: :wales:content goes here:wales: :northern-ireland:content goes here:northern-ireland: :england-wales:content goes here:england-wales: