Writing policies and style guide

This applies to medical and non-medical articles published on our websites.

We are very open in the topics we will consider, but the format of our articles must follow strict requirements:

Prose

This is how we evaluate our writing:

https://static.googleusercontent.com/media/guidelines.raterhub.com/en//searchqualityevaluatorguidelines.pdf

Capitalization, word choice, headings

We require sentence case everywhere. Even in titles and headings. There are limited exceptions to this rule, and each are detailed in this section.

Proper nouns

Buttons

Heading word choice

Typesetting

Punctuation

Initialisms (e.g. “ACLS”) and abbreviations (e.g. “dept.”)

HTML / Jekyll code style

Images

You can use this command to resize and convert to WebP:

# Convert to WebP lossy
# If image is horizontal (or square) and over 800px use "-resize 800 0"
# If image is vertical and over 800px use "-resize 0 800"
# Otherwise, skip the resize part
cwebp -q 80 -m 6 -mt -v -resize 800 0 -o output.webp input.png

Videos

All videos must be encoded in .webm format using VP8 codecs. A copy of the original high-resolution source video should be kept in our Google Drive. Follow these guidelines for video encoding:

Resolution Guidelines

Scale videos using FFmpeg’s scale filter.

640px is the default scale value for hero-callout videos. Select a width value from the list above.

 ffmpeg -i input.mov -vf scale=640:-2 -c:v libvpx -q:v 10 output.webm

Conditions for Switching to VP9

To properly link the converted video using the HTML video element, use as such:

Adjust video attributes as necessary ```html

```

URLs

Choosing URLs for content we pubish is important to make sure we clearly communicate the page intent, and we have durable URLs that will still be relevant if we make updates to the page.

Use apex domain

Localization prefix

Our websites are multilingual and multilocale. We organize our site content into folders based on language and locale. These rules below assume that example.com is serving customers in different locales, and the base language (implicit language for pages without a prefix) is English.

Assets work a little differently. We allow pages at like /some-page because it is more succinct than /en/some-page and visitors will see the URL. However for assets, we do not expect visitors to see these URLs and we explicitly include the locale in the URL every time.

Slugs

A slug is a component of a URL that does not include slashes. For example some-page which is part of /en-US/some-page.

Rules:

  1. Don’t use capital letters: ✅ ACLS, ❌ acls
  2. Use hyphen to separate words: ✅ acls-algorithms, ❌ acls_algorithms
  3. Use words economically, and omit “a”, “an”, “the” (and their translated equivalents): ✅ exemple-page, ❌ exemple-du-page
  4. Avoid accent letters: ✅ recertification, ❌ récertification (in French)

How we reviewed this article

Our experts continually monitor the medical science space, and we update our articles when new information becomes available.

Current version
Aug 13, 2024

Copy edited by:

Copy editors