| goose_clean_text | R Documentation |
Removes formatting artifacts and returns clean text for copying
goose_clean_text(text, preserve_markdown = TRUE)
text |
Character string with formatted text |
preserve_markdown |
Logical, keep markdown formatting (default TRUE) |
Clean text suitable for copying
## Not run:
response <- goose_ask("What is R?")
# Copy-friendly version:
clean <- goose_clean_text(response)
cat(clean)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.