# Printing

You might have noticed that the functions `print()` and `printPlain()` are used for printing the output on the terminal. Here's the difference:

* Use `print()` when you just want to print the output on the terminal
  * All styles are applied as usual in this case
* Use `printPlain()` when you also want to share the output
  * For example: sending it via chat or saving it to a file
  * Styles like text- and background-colors and font styles are not applied in this case


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://voici.larswaechter.dev/examples/printing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
