Skip to content

AP style title case rule for to is somewhat wrong #742

@kayx23

Description

@kayx23

Check for existing issues

  • Completed

Description

My rule:

extends: capitalization
message: "'%s' should be in title case"
level: error
scope: heading.md
match: $title
style: AP
exceptions:
  - none

It errors out on this title because of the to:

image

Now, according to AP, to is not required to be capitalized when it is a preposition. Capitalization is required when to is part of an infinitive verb. Therefore I believe this is a bug, as the current rule would actually require to to be capitalized in all occurrences when API rule is in use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions