Skip to content

showInvisibles

showInvisibles(alwaysShow?): BasicExtension

Defined in: extensions/search/invisibles.ts:12

Extension that shows tabs and spaces.

boolean

By default, spaces and tabs are only shown when they’re selected. By passing true, they’re always shown, which negatively impacts performance when typing, and increases the amount of elements in the DOM.

Requires styling from prism-code-editor/invisibles.css.

BasicExtension