Skip to main content
  1. Home
  2. Publish teacher training courses

Formatting

From user research we’ve found that users need to format their text using paragraphs, lists and links.

Most users have naturally formatted their content into paragraphs without further guidance. They assume that paragraphs will just work.

Users asked about lists, and looked for guidance. Without guidance users have tried to guess how lists would format, using dashes, asterisks and copied bullet points to create them.

Users have requested links so they can point to existing text on their or their accrediting provider’s website. eg For information about disabled access. They have not guessed how to input links.

Pasting URLs

We could allow users to paste URLs into the textarea. If the URL is valid then it can become clickable.

Something like this:
/publish-teacher-training-courses/formatting

The problem with these sorts of links is that they are not accessible. They do not have any useful labels to indicate what the link is for. The URL is often long and hard to read.

HTML

We could allow users to use raw HTML: <a href="/path/to/file">Link</a>. This is prone to more user error than markdown.

It is the undocumented approach used by users on the existing UCAS system.

Markdown

We could use markdown. An off-the-shelf library could render our markdown. A parser exists in search-and-compare-ui.

Markdown works with dashes and asterisks for lists which matches our user’s expectations.

Links in markdown can be confusing. It’s hard to remember which way around the brackets go, is it: []() or ()[] – it’s the first one.

Preview would need to render markdown.

Markdown would let us add more complex features easily in the future.

We need to test the link syntax with users to see how easy it is to use. We might need to provide tools to make it more easy to add links in the future.

Simple MDE

Simple MDE (markdown editor) is a frontend library that enhances textareas to make writing markdown easier. It includes syntax highlighting and buttons for inserting different features. Simple MDE on Github.

We can restrict features down to paragraphs, lists and links only. The library also provides an inline preview of how the markdown will render.

We’ll test how this library performs out of the box in user research.

Animation showing editor features#

Screenshot of Animation showing editor features

Course with Simple MDE editor#

Screenshot of Course with Simple MDE editor

Preview of markdown#

Screenshot of Preview of markdown

About your organisation with Simple MDE editor#

Screenshot of About your organisation with Simple MDE editor