> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/parametrage/les-options/option-modele-classique-coloration.md).

# Option modèle classique : Coloration

(Voir NV16N000037 Options dans les modèles de champs)

Pour les modèles classiques de type texte long L'option Coloration permet de définir une coloration pour un format de texte spécifique.

Coloration = *FORMULE* ou *XML* ou *HTML* ou *JAVASCRIPT* ou *JSON* *FORMULE* est la mise en forme des formules SIMAX

Par exemple pour HTML, au lieu d'afficher :

< !DOCTYPE HTML PUBLIC ‘’ - //W3C//DTD HTML 4.0 // EN’’ ‘’<http://www.w3.org/TR/REC> – html40 / strict.dtd’’>

\<html>

\<head> \<mete name = ="qrichtext" content="1" />

< style type = ‘’text//css’’>

p, li { white-space: pre-wrap; }

< / style> < / head >

\<body style=" font-family:'Tahoma'; font-size:8pt; font-weight:400; font-style:normal;’’>

\<p > Test < / p >

< / body >

\</html >

Cela affiche :

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FAQchjLIZ1XgqraR4hDdt%2F5.png?alt=media&amp;token=d7537298-4054-4c21-9d8e-fa8351c4b51d" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.simax.fr/parametrage/les-options/option-modele-classique-coloration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
