RAPIKAN.
GitHub

Pug / Jade Configuration

Engine:

Prettier (Pug Plugin)


Version:

v3.4.2

Execution:

Auto-Download

Rapikan will automatically download this formatter on the first run. No manual installation needed.

rapikan.pug.attributeSeparator
string

Choose when to use commas to separate attributes


Default

"always"

Options

alwaysas-needednone
rapikan.pug.commentPreserveSpaces
string

Change behavior of spaces within comments


Default

"keep-all"

Options

keep-allkeep-leadingtrim-all
rapikan.pug.sortAttributes
string

Sort attributes


Default

"as-is"

Options

as-isascdesc
rapikan.pug.framework
string

Specify the used framework within the project.


Default

"auto"

Options

autovuesvelteangular
rapikan.pug.singleFileComponentIndentation
boolean

Indent pug in template tags in SFC


Default

false
rapikan.pug.emptyAttributes
string

Change behavior of boolean attributes.


Default

"as-is"

Options

as-isnoneall
rapikan.pug.classNotation
string

Define how classes should be formatted.


Default

"literal"

Options

literalattributeas-is
rapikan.pug.idNotation
string

Define how ids should be formatted.


Default

"literal"

Options

literalattributeas-is
rapikan.pug.preserveWhitespace
boolean

Define if additional whitespace should be preserved in text.


Default

true

Output Examples