diff --git a/README.md b/README.md index 513335f..9e5553d 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,18 @@ A VSCode extension that provides syntax highlighting, snippets, and an interacti * Available on [github.dev](https://github.dev), [vscode.dev](https://vscode.dev) * Developers: you can pass a callback function that receives the webPanel when executing the preview command. This allows you to override functionality that is provided by the webPanel, like handlers for click/dblClick events. +## How to preview + +Open a Graphviz/Dot file in the active editor and use either of the following methods to render the preview: + +* (a) open the command prompt (cmd+shift+p) and type `> graphviz preview` +* (b) click the image button in the editor title +* (c) from the editor window's context menu, select `Preview Graphviz / Dot (beside)` + +image +image + + ## Render Examples semantic-arg-dark