1. 程式人生 > >Death to typewriters VI: User interface sets the tone

Death to typewriters VI: User interface sets the tone

Part VI.
User interface sets the tone

In this last section, we’re going back to where we started. Medium is a platform for writing and reading stories. The editor is one part of that platform, but so is any surrounding user interface.

The best-written, meticulously laid out and typeset story can still suffer from the interface around it. Here’s some examples of the effort we’re putting into the text surrounding

stories written on Medium:

Capitalization. We standardized our user interface on sentence capitalization instead of title capitalization — the latter feeling less modern, and harder to parse by the human eye. (Our style guide is dead simple.)

Quotes inside quotes.

When we quote text (such as story titles) that themselves have quotes, we replace them with secondary quotes. In the example here, the title of the story already has double quotes, which get replaced by single quotes in the quoted tweet.

Title punctuation takes over UI punctuation. If a story title ends with a punctuation character (such as exclamation point or a question mark), we skip the full stop we’d otherwise use.