Skip to content

Anchor IDs: Hyphens vs Underscores #2

@tajmone

Description

@tajmone

Ensure consistency in the various Anchor IDs (sections, figures, tables, etc.) by enforcing same word separator — i.e. use hyphen - instead of underscore _.

  • Detect all occurrences of inconsistent word separators and annotate them.
  • Annotate any special cases that might justify using _ as word separator (e.g. after prefixes).
  • Fix all anchor IDs to achieve consistency.

NOTE — in some cases use of an underscore might be justified by the context; the important thing is to adopt a consistent naming convention.

Underscores might be employed as separators after a commonly-recurring prefix (eg. fig_some-picture, table_some-table).

Further discussion might be required.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions