Mark-up special phrases differently on web and terminal · Issue #8481 · cli/cli · GitHub
Skip to content

Mark-up special phrases differently on web and terminal #8481

Description

@muzimuzhi

Describe the feature or problem you’d like to solve

My merged PR #8342 formatted all special phrases like commands (gh help issue), flags (--json), and special values (true) with backticks (`), which represented a web-first direction.

But as #8348 briefly mentioned, users might be more used to double-quotes instead of back-quotes when reading on terminal, for instance in manpages, gh help <subcommand> output, and perhaps also shell completions.

Proposed solution

Stick to backquote on web, but use double-quotes for terminal material.

Additional context

<empty>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions