Skip to content

format rust code examples inside docs #1695

Closed

Description

@sagiegurari

is there a way to format the code examples inside the comment blocks?

Activity

  1. nrc commented on Jun 16, 2017

    @nrc
    Member

    I don't think there is a good way. It would be nice to support, I expect it would be a bit tricky but not too huge. I don't have much of a plan for doing it though.

  2. sagiegurari commented on Jun 16, 2017

    @sagiegurari
    Author

    Thanks. Hope it will be in the plan at some point

  3. killercup commented on Jun 16, 2017

    @killercup
    Contributor

    This might coincide with the idea to have a markdown formatter for doc comments (that e.g. always adds an empty line after headlines, and tries to breaks lines at 80 cols).

  4. added 2 commits that reference this issue on Dec 24, 2017
    8274f5e
    27167cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions