Home

Awesome

fsharp-notebook

fsharp-notebook is a lightweight visualization tool to assist during data exploration and prototyping. In combination with ionide, VSCode becomes a very capable F# IDE for data science.

demo

Features

Command Palette

Settings

Configure Ionide-fsharp

Locate where fsharp-notebook extension is installed:

And edit VSCode settings.json:

"FSharp.fsiExtraParameters": ["--load:path/to/extension/scripts/Notebook.fsx"]

Usage

Basic Example

open Notebook

let md = Markdown """
# Hello, Markdown!
"""

Custom printers

fsi.AddPrinter(fun (data : YourType) ->
    ... // Format to string
    |> SVG // or HTML or Markdown or Text
    |> printerNotebook
)