Fossy-Cats / Git-Buch_EN

English translation of "Das Git-Buch" (The Git Book)
https://git.io/gitbook
Other
1 stars 0 forks source link

Anchor IDs: Hyphens vs Underscores #2

Open tajmone opened 4 years ago

tajmone commented 4 years ago

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

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.