View on GitHub

vscode-didact

Didact Gives Your Readme Superpowers!

Constructing Didact Links

All Didact links are composed of three main parts:

Didact has the ability to open Didact files themselves, which enables us to leverage files that are at public URLs, such as those put into Github repositories as well as those provided in extension source files or even in scaffolded projects. This capability comes in handy if you want to mix and match tutorials and commands, breaking up lengthy processes into smaller chunks.

Within a given Didact tutorial file, you can then mix and match link styles, opening other tutorials or launching commands with Didact link formatting.

We present the Markdown or AsciiDoc text as rendered HTML in a VS Code Webview. And that webview then listens for link events. If it encounters a “didact:” link, it responds accordingly.

All Didact links have the following qualities:

Some Common Examples

More specific example Didact files