-
Notifications
You must be signed in to change notification settings - Fork 1
/
welcome.smd
44 lines (24 loc) · 1.52 KB
/
welcome.smd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Stencila VSCode Extension Demo
Welcome to the demo GitHub Codespace for the Stencila VSCode extension!
Please wait a few moments while VSCode installs the Stencila Plugin. You'll know it has completed when you see the Green and blue Stencila logo on this document's tab.
## Quick start
- The **Stencila Command Menu** can be accessed any time using `Ctrl`+`F1`, (`⌘-Fn-F1` on a Mac) or by clicking on the Stencila status bar item in the bottom right.
- Open the **Stencila Side Bar** using the Stencila icon in the activity bar on the far left. Use it to browse execution kernels, AI prompts and AI models, and click the action buttons to use them in the current document.
- To use Stencila's LLM assistant and AI model router, [**Sign up for Stencila Cloud**](https://stencila.cloud/signup), or enter a Stencila API token, via the Stencila Command Menu.
- **Explore** key functionality in detail, using the walkthroughs listed in the Stencila Command Menu.
- This file is a **Stencila Markdown Document** (*.smd). Use the `Preview` button at the top right to view it and try running the examples below.
## Examples
An executable code cell (try clicking View and then Run):
```python exec
print("Hello world")
```
An AI command to create and run code to plot random numbers:
::: create plot of random numbers :::
An AI command to transform a list into a table and add data:
::: edit make a table which includes the population of each city
1. Tokyo, Japan
2. New York City, USA
3. London, UK
4. Shanghai, China
5. Moscow, Russia
:::