Editing mixed-content files with multiple major modes in the same buffer

A buffer has a single major mode chosen according to the file format. For mixed-content files, there are ways to benefit from multiple major modes.

Related tags

  • , one of the ways to switch between major modes based on context
  • , another way to switch between major modes based on context
  • , for HTML files embedded CSS, Javascript and server-side scripts

External links

history | excerpt history