☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

show_gutter

Table of contents

Description:

This key toggles whether CloudCannon displays line numbers in the gutter of Code Inputs.

Setting this key to false will hide line numbers in the left gutter of the code editor.

By default, this key is true (i.e., line numbers are displayed).

Appears in:
└── _inputs
    └── *
        └── Code Input
            └── options
                └── show_gutter
Type:
boolean
Default value:
true
Examples:

In this example, we have configured a code input to hide line numbers by setting show_gutter to false.

Copied to clipboard
_inputs:
  css_code:
    type: code
    label: Custom CSS
    options:
      show_gutter: false
{
  "_inputs": {
    "css_code": {
      "type": "code",
      "label": "Custom CSS",
      "options": {
        "show_gutter": false
      }
    }
  }
}
Open in a new tab