# Code Editor

The code editor allows you to make scripts that can do many things.
Scripts can be written in JavaScript or in Python.
To switch languages, use the Language option on the Edit menu.

Note: Python scripts require _. before SyMAT commands.

## Exporting Code

You can export syntax-highlighted (colored) code to HTML or PDF with the Export tool. This is useful for generating reports or for publishing to the Internet.
The code will be formatted according to the currently selected language in the editor.