Search⌘ K
AI Features

Widgets and visuals

Learn how to enhance your Educative Answers with interactive widgets including code, single-page apps, terminals, and drawing tools. Understand modes like Edit and Preview, supported languages, and how Docker enables custom environments. Discover how to create diagrams and visuals to enrich your technical writing.

Widgets

Have a look at the widgets you can use to make your Answers interactive. All widgets have two modes:

  1. Edit mode: Visible to the author, used to add code files and set up the execution environment.

  2. Preview mode: Visible to the reader, used to execute the code.

The widgets support some technologies natively. If you need to extend or add more execution environments behind the widgets, you can do that with the help of DockerDocker is a container management service that allows developers to build applications, ship them into containers and run them anywhere. Docker allows you to create your own custom environment to accommodate any language/framework that is not supported by our platform. For each widget, the docker setup guide will be ...