Explain
Explain code on any web page without leaving it.
How it works
Highlight the snippet
A function, a command, an error message or a configuration block.
Choose Explain
TrigVia suggests it when the selection looks technical.
Read it in place
The explanation appears on the page, so you can keep reading the surrounding docs.
Where it helps
Documentation pages, Q&A answers, blog tutorials, pull requests and error logs. Anywhere code is shown as selectable text in Chrome.
Explain is a reading aid. Always test code yourself before you rely on it.
A worked example
You find a shell command in a tutorial: a long line of flags and pipes. Select it, run Explain, and you get what each part does and what the whole line achieves, next to the tutorial you are following.
The same works for a regular expression in an answer, a block of configuration, or a stack trace in an issue.
Using explanations safely
Explanations describe what code appears to do. They do not run it and they can be wrong, especially on unusual libraries. Run commands in a safe environment first, and be careful with anything that deletes or changes data.
Never select secrets such as passwords or API keys. The selected text is sent to produce the result.
Questions
Short answers.
Stop copying text into other tabs.
Install TrigVia, highlight something, and see what it suggests.

