Skip to content

# Notebooks

A notebook interface (also called a computational notebook) is a virtual notebook environment used for literate programming -- wikipedia

Notebooks have a series of cells containing text, code, and visualizations.

## Observable

Observable is a website for online JavaScript notebooks.

You can use AppRun on the Observable site by following the steps:

1. Import app, html from @yysun/apprun
2. Create the state, view, and update
3. Create a div
4. Start an app on the div

Visit https://observablehq.com/@yysun?tab=notebooks for more examples.

## .NET Interactive Notebooks

With the .NET Interactive Notebooks extension for Visual Studio Code installed, we can run the .NET Interactive notebooks in Visual Studio Code. The .NET Interactive notebooks support C#, F#, HTML, JavaScript, Power Shell, and even SQL.

You use AppRun in the .NET Interactive notebooks by following the steps:

1. Import AppRun
2. Create a div
3. Create the state, view, and update
4. Start an app on the div

Download the sample notebook.