Skip to content

Commit 75dbc53

Browse files
Get Started > Positron (#1692) (#1714)
(cherry picked from commit 1715f6e) Co-authored-by: Charlotte Wickham <[email protected]>
1 parent fd94da0 commit 75dbc53

File tree

75 files changed

+2005
-570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2005
-570
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ plotly = "*"
2727
pathlib = "*"
2828
nbformat = "*"
2929
statsmodels = "*"
30+
plotnine = "*"
3031

3132
[dev-packages]
3233

Pipfile.lock

Lines changed: 530 additions & 546 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/get-started/_language-chooser.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
::: {.callout-tip}
2+
3+
# R or Python?
4+
5+
You can work through this tutorial using R or Python code examples.
6+
Select your preferred language:
7+
8+
::: {#language-chooser .panel-tabset group="language"}
9+
10+
## R
11+
12+
You've selected to see examples in R. You can toggle to Python whenever you like throughout the guide.
13+
14+
## Python
15+
16+
You've selected to see examples in Python. You can toggle to R whenever you like throughout the guide.
17+
18+
:::
19+
20+
:::

docs/get-started/_tool-chooser.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
```{=html}
22
<ul id="choose-your-tool" class="nav nav-tabs" role="tablist">
33
<h3 class="no-anchor">Choose your tool</h3>
4+
<li class="nav-item" role="presentation">
5+
<a class="nav-link" href="positron.html">
6+
<img src="../images/positron-logo.svg">Positron
7+
</a>
8+
</li>
49
<li class="nav-item" role="presentation">
510
<a class="nav-link" href="vscode.html">
611
<img src="../images/vscode-logo.png">VS Code
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
::: {.callout-caution}
2+
3+
## LaTeX Required for `format: pdf`
4+
5+
In order to create PDFs you will need to install a recent distribution of [LaTeX](https://www.latex-project.org/).
6+
We recommend the use of TinyTeX (which is based on TexLive), which you can install with the following command:
7+
8+
``` {.bash filename="Terminal"}
9+
quarto install tinytex
10+
```
11+
12+
:::
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
When you preview a document with the **Quarto: Preview** command, the Preview button in the toolbar, or the keyboard shortcut {{< kbd mac=Command-Shift-K win=Ctrl+Shift+K linux=Ctrl+Shift+K >}},
2+
the first format specified in the document header is rendered and previewed.
3+
In this case, the file `authoring.pdf` will be created, and opened in the Viewer pane.
4+
5+
To preview a specific format use the **Quarto: Preview Format...** command and select a different format.
6+
The selected format will then be used whenever you preview.
7+
To return to the default format, or a different format, run **Quarto: Preview Format...** again.
8+
9+
To render all formats specified in the document header, run the command **Quarto: Render Document**.
10+
Then the following files would be created.
11+
12+
- `authoring.pdf`
13+
- `authoring.html`
14+
- `authoring.docx`

0 commit comments

Comments
 (0)