Markdown is an easy-to-use syntax for applying rich-text styling to plain text. It is ideally suited for formatting candidate biographies as it guarantees stylistic uniformity across all biographies lending to a positive experience for voters.
A Working Example
Candidates enter content into a text area like…
to have it display like…A candidate may highlight text to appear in both bold and italics and also include a link to an outside website. A candidate may wish to list their educational background using a bullet list like so:
- Bachelor Degree
- Master's Degree
- Doctoral Degree
ElectionsOnline supports the following subset of the markdown syntax as shown in the examples below.
|To format text as…||Type…||Displays as…|
|Heading||# Hello World||
|Typing it: Start a new line with a pound sign, then a space, then text.|
|Italics||*make me italics*||make me italics|
|Typing it: Enclose text in asterisks to make the enclosed text italics.|
|Bold||**make me bold**||make me bold|
|Typing it: Enclose text in double asterisks to make the enclosed text bold.|
|Bold and italics||***make me bold and italics***||make me bold and italics|
|Typing it: Enclose text in triple asterisks to make the enclosed text bold and italics.|
|Typing it: Start a new line with a number, then a period, then a space, then text.|
|Unordered lists||- First list item.
- Second list item.
- Third list item.
|Typing it: Start a new line with a dash, then a space, then text.|
|Links||[Make me a link](https://www.fsu.edu)||Make me a link|
|Typing it: Type opening and closing square brackets followed by opening and closing parantheses. Provide link text in the square brackets, the link address (a URL) in the parantheses. Do not omit http[s]:// from the address.|