Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Avoid horizontal scrolling in formatted code #201

Closed
@MaxDesiatov

Description

@MaxDesiatov

Currently, formatted code in swift-doc requires horizontal scrolling in a lot of places. See attached screenshot from ComposableArchitecture package docs.

It would be great if swift-doc could reformat the code to some narrow width, at least appropriate for the default font. Something like SwiftFormat could help with this, as it gained line width reformatting capabilities recently.

Screenshot 2020-10-07 at 10 04 33

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions