Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

styleIndent

Control whether the code block in the <style> tag should be indented or not.

Default option is false.

This global option can be overridden for individual languages by the following options:

  • html.styleIndent
  • vue.styleIndent
  • svelte.styleIndent
  • astro.styleIndent

Example for false

<style> a { outline: none; } </style>

Example for true

<style> a { outline: none; } </style>