> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/online-code-editor/scala-notebooks.md).

# Scala Notebooks

[Jupyter notebooks](https://code.visualstudio.com/docs/datascience/jupyter-notebooks#:~:text=Jupyter%20Notebooks%20in%20VS%20Code,and%20through%20Python%20code%20files.) can combine Markdown text and executable Python or Scala code.

BlackDiamond Studio has pre-configured all the requirements, so you can easily start a new Jupyter notebook and write some code.

#### To create a new Jupyter notebook:

1. Create a new Jupyter notebook using the command palette (Ctrl+Shift+P) or create a new .ipynb file in the workspace.

![](https://3318121499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FltqydcnGV3BWCCC3QkYO%2Fuploads%2FLZap3zSXjOr4GstYeVm5%2F01.PNG?alt=media\&token=17124a21-3128-469a-ba32-8dc399cc62c4)

2\. Then just add the code or the markdown text you want to display in your Jupyter notebook.

This is an example Jupyter notebook using **Python code:**

![](https://3318121499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FltqydcnGV3BWCCC3QkYO%2Fuploads%2FpEmvI8EwHL4PTel3dRNo%2FExample%20Notebook%20Python.PNG?alt=media\&token=c6017f6c-d84a-4ee9-92a2-57abbdf264a6)

This is an example Jupyter notebook using **Scala code:**

![](https://3318121499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FltqydcnGV3BWCCC3QkYO%2Fuploads%2F9is6ZzHVhBatl5t7wgsz%2FExample%20Notebook%20Scala.PNG?alt=media\&token=6f65b68a-3f29-455c-a308-7f5a77834dff)
