Skip to main content Skip to search
Main Menu
  • Drupal.org home
  • Download & Extend
  • Community
  • Documentation
  • Support
  • Jobs
  • Marketplace
  • About
Return to Content

Search form

  • Log in, view profile, and more
    • Log in
    • Create account
Documentation
DevelopCoding standards

Coding standards

  • Coding standards
  • API documentation and comment standards
  • API Documentation Samples
  • CSS
  • JavaScript
  • Markdown coding standards
  • Namespaces
  • Naming standards for Services and extending Symfony
  • Object-oriented code
  • PHP Exceptions
  • PSR-4 namespaces and autoloading in Drupal 8
  • SQL coding conventions
  • Avoid "SELECT * FROM ..."
  • List of SQL reserved words
  • Temporary placeholders and delimiters
  • Twig coding standards
  • Use Drupal Unicode functions for strings
  • Write E_ALL compliant code
  • Drupal SimpleTest coding standards
  • Drupal Markup Style Guide
  • Configuration file coding standards
  • Composer package naming conventions

Markdown coding standards

Last updated on
20 September 2016

This is currently being discussed in #2191525: [policy, no patch] Markdown coding standards (adopt CommonMark spec).

Drupal’s online documentation is © 2000-2016 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

News items

  • Drupal news
  • Planet Drupal
  • Association news
  • Social media directory
  • Security announcements
  • Jobs

Our community

  • Community
  • Getting involved
  • Services, Training & Hosting
  • Groups & Meetups
  • DrupalCon
  • Code of conduct

Documentation

  • Documentation
  • Drupal 8 docs
  • Drupal 7 docs
  • Developer docs
  • api.drupal.org

Drupal code base

  • Download & Extend
  • Drupal core
  • Modules
  • Themes
  • Distributions

Governance of community

  • About
  • Web accessibility
  • The Drupal Association
  • About Drupal.org
  • Terms of service
  • Privacy policy

Drupal is a registered trademark of Dries Buytaert.