Skip to content

x/pkgsite: Examples are missing the "Output:" label when example output provided #43266

@AdRiley

Description

@AdRiley

What is the URL of the page with the issue?

https://pkg.go.dev/strings#example-Compare

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

Screenshot

image

What did you do?

Went to the page

What did you expect to see?

The example output labelled as Output: as it is on GoDoc.

image

Without the label it isn't immediately clear what you are looking at.

What did you see instead?

There is no "Output:" label instead the example code and example output are just right next to each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.UXIssues that involve UXD/UXR inputpkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions