Variable: mhtml-tag-relative-indent

mhtml-tag-relative-indent is a customizable variable defined in mhtml-mode.el.gz.

Value

t

Documentation

How <script> and <style> bodies are indented relative to the tag.

When t, indentation looks like:

  <script>
    code();
  </script>

When nil, indentation of the script body starts just below the tag, like:

  <script>
  code();
  </script>

When ignore, the script body starts in the first column, like:

  <script>
code();
  </script>

This variable was added, or its default value changed, in Emacs 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/mhtml-mode.el.gz
(defcustom mhtml-tag-relative-indent t
  "How <script> and <style> bodies are indented relative to the tag.

When t, indentation looks like:

  <script>
    code();
  </script>

When nil, indentation of the script body starts just below the
tag, like:

  <script>
  code();
  </script>

When `ignore', the script body starts in the first column, like:

  <script>
code();
  </script>"
  :group 'sgml
  :type '(choice (const nil) (const t) (const ignore))
  :safe 'symbolp
  :version "26.1")