Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.13 KB

Styling.md

File metadata and controls

25 lines (20 loc) · 1.13 KB

Styling

If you don't like the default colors and styles of syntax highlighting, the styling of the output can be controlled using the following variables:

  • STYLE_RESET: Escape code to reset the style.
  • STYLE_HEADING: Escape code for markdown headings.
  • STYLE_LIST: Escape code for markdown lists.
  • STYLE_CODE: Escape code for markdown inline code.
  • STYLE_CODE_BLOCK: Escape code for markdown code block.
  • STYLE_BLOCKQUOTE: Escape code for markdown blockquote.
  • STYLE_BOLD: Escape code for bold text.
  • STYLE_ITALIC: Escape code for italic text.
  • STYLE_STRIKETHROUGH: Escape code for strikethrough text.
  • STYLE_LINK_TEXT: Escape code for link text.
  • STYLE_URL: Escape code for link or image URL.
  • STYLE_TITLE: Escape code for link or image title text.
  • STYLE_IMAGE_TEXT: Escape code for image alt text.
  • STYLE_PUNCTUATION: Escape code for markdown punctuations.

Refer to terminfo(5) for more information on escape codes.

To customize the prompt (prompt here means shell prompt, not for LLMs), you can use the following variables:

  • ELL_PS1: the prompt for user input.
  • ELL_PS2: the prompt for llm generations.