---
name: "Misc.Style"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Misc.Style"
---

# Misc.Style(3o)

no description

## NAME

Misc.Style - no description

## Module

Module   Misc.Style

## Documentation

Module **Style**\
  :  **sig end**

*type color* =\
  \| Black\
  \| Red\
  \| Green\
  \| Yellow\
  \| Blue\
  \| Magenta\
  \| Cyan\
  \| White

*type style* =\
  \| FG **of** **color**\
  \| BG **of** **color**\
  \| Bold\
  \| Reset

*type Format.stag* +=\
  \| Style **of** **style list**

*val ansi\_of\_style\_l* :  **style list -\> string**

*type tag\_style* = {\
  ansi :  **style list** ;\
  text\_open :  **string** ;\
  text\_close :  **string** ;\
  }

*type styles* = {\
  error :  **tag\_style** ;\
  warning :  **tag\_style** ;\
  loc :  **tag\_style** ;\
  hint :  **tag\_style** ;\
  inline\_code :  **tag\_style** ;\
  }

*val hint* :  **Format\_doc.formatter -\> unit**

*val as\_inline\_code* :  **'a Format\_doc.printer -\> 'a Format\_doc.printer**

*val inline\_code* :  **string Format\_doc.printer**

*val default\_styles* :  **styles**

*val get\_styles* :  **unit -\> styles**

*val set\_styles* :  **styles -\> unit**

*val setup* :  **Misc.Color.setting option -\> unit**

*val set\_tag\_handling* :  **Format.formatter -\> unit**
