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

programs.anvil-editor.enable

Whether to enable anvil-editor.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.anvil-editor.package

The anvil-editor package to use.

Type: null or package

Default:

pkgs.anvil-editor

Declared by:

programs.anvil-editor.settings

Configuration settings for anvil-editor. All available options can be found here: https://anvil-editor.net/reference/config/#settingstoml.

Type: TOML value

Default:

{ }

Example:

{
  env = {
    BAR = "FOO";
    FOO = "BAR";
  };
  general = {
    exec = [
      "aad"
      "ado"
    ];
  };
  layout = {
    column-tag = "New Cut Paste Snarf Zerox Delcol";
  };
  typesetting = {
    replace-cr-with-tofu = false;
  };
}

Declared by:

programs.anvil-editor.style

Style settings for anvil-editor. All available options can be found here: https://anvil-editor.net/reference/config/#stylejs.

Type: JSON value

Default:

{ }

Example:

{
  BodyBgColor = "#17223b";
  GutterWidth = 14;
  ScrollBgColor = "#6b778d";
  ScrollFgColor = "#17223b";
  TagBgColor = "#263859";
  TagFgColor = "#fefefe";
  WinBorderColor = "#000000";
}

Declared by: