# 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.

![](/files/4Ctz8a8V5ZCFCWLnh7sm)

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:**

![](/files/TLyF5Y7HC0VtrHNLTQ3G)

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

![](/files/YHFSS3JSIa9OCazf1CqU)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/online-code-editor/scala-notebooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
