WLJS LogoWLJS Notebook

Wolfram Language

Work with Wolfram Language input cells in WLJS Notebook, including evaluation, editable output, file uploads, syntax highlighting, autocomplete, and documentation.

An input cell is a multi-tool. By default, it assumes Wolfram Language as input if no other patterns are found in the first line:

1+1
2

Read our fast-track introduction on Wolfram Language at that page

If an output is too large, it may be truncated or converted into a temporary symbol to reduce editor load. This can be adjusted in the editor's settings.

Morph Output Cell into Input

If you modify a Wolfram Language output cell, it will automatically be converted into a new input cell.

History of evaluation

You can access the last evaluated expresion using either Out[] symbol or %, i.e.

1 + 1;
% - 1

It also works across different cells. Note, that unlike Mathematica, the output is preseved only for the latest evaluation.

Information on symbols

Evaluate

?Plot

to get a structured output on the properties of a given symbol. Use ?? to get extra information. To discover symbols within a given context (a package for instace) - use Names[""]

Needs["Quaternions`"];
Names["Quaternions`*"] // TableForm 

or in general:

Names["*Plot*"]

Auto-upload Files

Drag and drop files into the editor or paste media from the clipboard

Syntax Highlighting & Autocomplete

Wolfram Language autocomplete and highlighting can be extended with external packages.

Once a symbol is defined in the `Global`` context of a Wolfram Kernel session, it appears in the autocomplete window and is shared across open notebooks.

At startup, the Wolfram Kernel loads all imported packages, reads ::usage directives for defined symbols.

We support fuzzy search, i.e typing llp will find candidates like ListLogPlot and ListLinePlot

Autocomplete for loaded packages

You can enable periodic checking in the editor's settings (see: Settings, Editor Settigns, Autocomplete, Enable active rescanning of definitions when Get or Needs called) for newly loaded packages (not user-defined symbols) information upon Get or Needs commands.

Context aliases are also supported, i.e. this will be picked as well:

Needs["Quaternions`"->"qa`"]

Note, that there is a slight delay between rescans - a few seconds

Access to Documentation

Click the 🔎 icon in the autocomplete window to open the documentation for a symbol in a new tab.

Opening documentation for another symbol will not create an extra window, but it will refresh the existing one. Therefore you can safely arrange the windows in a fixed layout

On this page