This handbook section includes documentation for pluggable input formats for Drupal. For more information about how input / text formats work, see here for a writeup, and here for a quick video.