tolerant-php-parser/php-langspec/FORMATTING.md

1012 B

Formatting rules

  1. The format of the PHP 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.
  • Do not embed external images not hosted on php.net infrastructure.
  • 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.