Skip to content

Incomplete rules for Google style in headings #9

@kai687

Description

@kai687

According to Google:

[...] capitalize only the first word in the title, the first word in a subheading after a colon, and any proper nouns or other terms that are always capitalized a certain way.

# Word: Capitalize

should be a valid heading according to Google style. Currently, this triggers the warnings Google.Colons and Google.Heading.

Changing the scope for Google.Colons fixed that warning, but I have no idea how to change the Google.Heading rule to enforce sentence case, except after colon. I failed to come up with a pattern for the exceptions.

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