Mathematica
Export WLJS notebooks to Mathematica .nb files or import Mathematica notebooks into WLJS, with guidance on supported content and limitations.
Any WLJS notebook can be exported to Mathematica's native format .nb. Call Share from the top menu or click the icon and choose Mathematica:
Use cases
- Share WLJS notebooks with Mathematica users
Consider the following limitations when sharing in Mathematica format:
- Only input cells will be transferred.
- Input cells will be converted to
InputForm. - Markdown formatting is not fully supported in Wolfram Language text cells (only sections, titles, etc. are preserved).
- LaTeX, Mermaid, HTML, and many other non-standard output cells will not be displayed.
Importing
Simply open a .nb file with the WLJS application; it will be automatically converted to .wln.
The importer maps compatible Mathematica cell and typesetting structures directly to WLJS. When a typesetting construct has no reliable one-to-one WLJS representation, it uses a TeX form so the content remains readable. This fallback is especially useful for notebooks that mix formatted text with undocumented box expressions.
Known limitations
- large notebooks will be automatically split to avoid performance degradation (you might see a message content from the previous cell);
DynamicModule,Dynamicwill not render correctly;- avoid complex text formatting;
- certain
GraphicsandGraphics3Dstyling options may not work; - embedded image / video / audio data inside cells will no be available