| format_ai_response | R Documentation |
Format AI response text for better display in R console
format_ai_response(
text,
width = 80,
indent = 0,
preserve_code = TRUE,
color = TRUE
)
text |
Character string with AI response |
width |
Integer, line width for wrapping (default 80) |
indent |
Integer, spaces to indent wrapped lines (default 0) |
preserve_code |
Logical, whether to preserve code blocks (default TRUE) |
color |
Logical, whether to use color output (default TRUE) |
Formatted text (invisibly), printed to console
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.