Skip to content

Latest commit

 

History

History
43 lines (40 loc) · 1023 Bytes

twig-options.md

File metadata and controls

43 lines (40 loc) · 1023 Bytes

Available Twig options

Twig uses prettydiff so you can use the options available for this beautifier. If you need more information make sure to read the documentation of prettydiff to see all available options

Options

  • brace_line: false
  • brace_padding: false
  • brace_style: none
  • braces: false
  • comment_line: false
  • comments: false
  • compressed_css: false
  • correct: false
  • css_insert_lines: false
  • else_line: false
  • end_comma: never
  • force_attribute: false
  • force_indent: false
  • format_array: default
  • format_object: default
  • function_name: false
  • indent_level: 0
  • indent_char: " ";
  • indent_size: 4;
  • method_chain: 3
  • never_flatten: false
  • new_line: false
  • no_case_indent: false
  • no_lead_zero: false
  • object_sort: false
  • preserve: 3;
  • preserve_comment: true
  • quote_convert: none
  • space: true
  • space_close: false
  • tag_merge: false
  • tag_sort: false
  • ternary_line: false
  • unformatted: false
  • variable_list: none
  • vertical: false
  • wrap: 0