Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Latest commit

 

History

History
18 lines (17 loc) · 920 Bytes

FORMATTING.md

File metadata and controls

18 lines (17 loc) · 920 Bytes

Formatting rules

  1. The format of the Hack Language Specification is Markdown.
  2. Everything in the actual specification document must be ASCII only.
  3. The only allowed extensions to original Markdown are tables and code blocks (indicated by three backticks).
  4. Style
  • Use spaces to indent, not tabs.
  • For headings, use prefixed hash symbols # Example, not underlining it with ===.
  • Use of inline links [example](http://example.org) is preferred over reference links [example][xmpl] unless used multiple times in a paragraph or section. This is to allow for easier splitting and reorganization of the document.
  • Try to stick to 80 chars wide, if possible. This is not as strict as in coding standard rules, but still easier to read most of the times. This does only apply to text, not to code examples or tables.