Skip to content

Format code in backticks in comments #634

Open
@eschnett

Description

Sometimes one writes comments that include code in backticks, e.g.

# lowest sensible value is `x=1`
x = 4

In this case, it would be nice if the expression x=1 in the comment was also formatted.

I believe Documenter.jl defines exactly which parts of what comments can be extracted and run as code. These are the ones that should be formatted.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions