Namegarage

Reading quickstart commands on a phone

Dev blog#api#accessibility

On a narrow screen, a line break in the middle of a flag or a quoted search term makes a curl command hard to follow. The API quickstart now wraps shell examples between arguments. The search example puts the URL on its own line with --get. If a single argument is wider than your screen, you can scroll the example sideways to read it.

A chain icon marks a web address in a command or in a code block that contains just the address. Use Copy or select the example to get the source text, including the quotes and backslashes. The chain and the shell prompts stay on the page.

Add as preferred source
Hacker News X LinkedIn Email

Using this button loads Google’s service and allows its usage measurement. Privacy policy.

Get new blog posts by email

Comments

Comments are reviewed before publication. The Author badge marks replies from the author.

Read approved comments on the discussion page.

    Open the discussion page

    Leave a comment

    Your account name, sign-in provider, and comment become public after review. Your email stays private. See the blog comments privacy notice and Privacy Policy.

    Sign in to leave a comment.