page_content
stringlengths 0
46.9k
| metadata
dict |
---|---|
I just discovered quarto and it looks like an amazing project! Is the current state of the project ready for general user feedback from those not in the dev team? I'm always eager to help :smile: | {
"assignee": null,
"comments": 1,
"created_at": "2021-07-30T15:17:38Z",
"creator": "rpodcast",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 71,
"state": "closed",
"title": "Appropriate time for user feedback?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/71"
} |
This may already exist, so please let me know if there is an easier way. Workbench team wanted more whitespace above the main content, and I wanted all the elements to stay aligned- this proved harder than I thought! It would be great if Quarto used a variable to control that top padding, which users could also grab onto and change. As is, this was a lot of trial and error, eyeballing things, and holding rulers up to my screen. Here was my outcome:
<img width="1413" alt="Screen Shot 2021-07-29 at 3 54 43 PM" src="https://user-images.githubusercontent.com/12160301/127575822-fb5340aa-f210-4d82-a314-cf29174303e8.png">
And my CSS:
```
/* increase padding above ALL content */
.sidebar {
padding-top: 50px;
}
.sidebar-menu-container {
padding-top: 25px;
}
main {
padding-top: 28px;
}
``` | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2021-07-29T22:58:06Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 70,
"state": "closed",
"title": "[FR] Quarto SASS variable to control padding of all non-navbar content",
"url": "https://github.com/quarto-dev/quarto-cli/issues/70"
} |
Hi-
Request from Workbench team to be able to plop the version of Quarto used to build the Admin Guide somewhere visible: https://github.com/rstudio/rstudio-pro/issues/2815
Something like the footer in pkgdown?
<img width="1413" alt="Screen Shot 2021-07-29 at 3 37 35 PM" src="https://user-images.githubusercontent.com/12160301/127574405-56c7f074-f629-4820-aa31-c26167ec6996.png">
| {
"assignee": null,
"comments": 2,
"created_at": "2021-07-29T22:38:58Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 69,
"state": "closed",
"title": "[FR] Display Quarto version used to build projects",
"url": "https://github.com/quarto-dev/quarto-cli/issues/69"
} |
Hello (related to Workbench docs conversion)-
```
/*-- scss:defaults --*/
$navbar-bg: #fff;
```
I also tried: $navbar-light-bg. Is there a different variable that works here? No matter what I try to change I see:
<img width="1413" alt="Screen Shot 2021-07-29 at 11 06 17 AM" src="https://user-images.githubusercontent.com/12160301/127543433-e7b667d4-8e7c-4097-bf17-b0670af47ec1.png">
This ultimately works, but a Bootstrap SASS variable should work:
```
/*
.bg-primary {
background-color: #ffffff !important;
}*/
``` | {
"assignee": "dragonstyle",
"comments": 5,
"created_at": "2021-07-29T18:09:12Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 68,
"state": "closed",
"title": "Bootstrap navbar-bg SASS variable does not work",
"url": "https://github.com/quarto-dev/quarto-cli/issues/68"
} |
Hello (related to Workbench docs conversion)-
I'm using Bootstrap SASS variables to change the way inline code looks:
```
/*-- scss:defaults --*/
$code-color: #702459;
$code-bg: #edf2f7;
```
The above works to change the text color of inline code (as intended), but the background color does not change.
Related: https://github.com/rstudio/rstudio-pro/issues/2756 | {
"assignee": "dragonstyle",
"comments": 16,
"created_at": "2021-07-29T17:19:10Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 67,
"state": "closed",
"title": "Bootstrap code-bg SASS variable does not work",
"url": "https://github.com/quarto-dev/quarto-cli/issues/67"
} |
The last Quarto version to work for me on Windows was v0.2.28. When I install v0.2.32 or v.02.34 and run `quarto check`, I get this error:
![image](https://user-images.githubusercontent.com/6981612/127421905-5eb9fcc5-1aed-4ebf-95cf-8950b07082d3.png)
I get the same error on `serve`, `render`, and `preview`.
FWIW, the v0.2.34 executable in the Workbench Docker container is working with no problems | {
"assignee": null,
"comments": 1,
"created_at": "2021-07-29T02:30:43Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 66,
"state": "closed",
"title": "Windows release not working",
"url": "https://github.com/quarto-dev/quarto-cli/issues/66"
} |
I updated the Quarto version in the Workbench Docker file to 0.2.34 and navbar title is no longer being printed out.
Here is the navbar render with v0.2.28:
![image](https://user-images.githubusercontent.com/6981612/127420551-02d29d15-a3a5-4732-9829-f231d2f19b65.png)
And the navbar rendered with v0.2.34:
![image](https://user-images.githubusercontent.com/6981612/127420972-c5612f00-a757-43c7-b3c3-5c6199414bbc.png)
The yaml is the same between each render. If I comment out the logo in `quarto-yml`, then the navbar title will appear:
![image](https://user-images.githubusercontent.com/6981612/127420999-c7c4ef70-e483-4e88-9a47-83a55b6f0abd.png)
### To reproduce
* clone `https://github.com/pommevilla/quarto-navbar-issue`
* `quarto serve` - the logo shows up in the navbar but the title doesn't
* Comment out the logo line in `_quarto.yml` - the site title reappears.
| {
"assignee": null,
"comments": 3,
"created_at": "2021-07-29T02:20:42Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 65,
"state": "closed",
"title": "Navbar doesn't render logo and title at the same time",
"url": "https://github.com/quarto-dev/quarto-cli/issues/65"
} |
Take this
````markdown
---
title: test
format:
revealjs:
slideNumber: 'c/t'
---
## slide 1
## Slide 2
````
It won't work as expected because Quarto is quoting and adding parenthesis `'(c/t)' `
````html
// Display the page number of the current slide
slideNumber: '(c/t)',
````
https://github.com/quarto-dev/quarto-cli/blob/d6a6f945df0fb1654942d13ec1e255db23e2e67d/src/format/reveal/format-reveal.ts#L46-L50
The parenthesis needs to be removed.
cc @apreshill I think this is the error you encountered | {
"assignee": null,
"comments": 0,
"created_at": "2021-07-26T12:59:38Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 62,
"state": "closed",
"title": "revealjs quoting of some option is not correct",
"url": "https://github.com/quarto-dev/quarto-cli/issues/62"
} |
Dear all,
I have just discovered Quarto and I am very excited by it, in particular as a way to enable students to render well formatted reports directly from notebooks, and as a way to work on scientific papers with a relatively simple way to pass journal templates to the project for rendering ( something to explore).
I am wondering whether it is possible to make sure the python environment used ( conda) is the same one where quarto executes, by having quarto install from conda ( forge). Do you plan to release under conda forge? Or is there a way to specify this, for instance through the nested pip install from github (as in https://stackoverflow.com/questions/19042389/conda-installing-upgrading-directly-from-github) .
Thanks,
Martin | {
"assignee": null,
"comments": 29,
"created_at": "2021-07-26T02:46:00Z",
"creator": "tomkom",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "v1.3",
"number": 61,
"state": "closed",
"title": "Installing via Conda",
"url": "https://github.com/quarto-dev/quarto-cli/issues/61"
} |
Using command line I can do
````shell
pandoc --from markdown+emoji --to revealjs -s -o test.html test.qmd
````
Is this supporting in quarto ? I tried a few thing with odd result
Doing
```
---
format: revealjs
variant: +emoji
---
````
will lead to adding the extension to the `to` format
````
pandoc
to: revealjs+emoji
from: markdown
standalone: true
filters:
- crossref
````
I also tried at command line but no luck passing the `--from` argument from pandoc command line to `quarto render`. It does the same (moving the extensions to the to format)
```
❯ quarto render test2.qmd --from markdown+emoji
pandoc --from markdown+emoji
to: revealjs+emoji
from: markdown
standalone: true
filters:
- crossref
metadata
hash: true
The extension emoji is not supported for revealjs
```
````
❯ quarto render test2.qmd --to revealjs --from markdown+emoji
pandoc --from markdown+emoji
to: revealjs+emoji
from: markdown
standalone: true
filters:
- crossref
metadata
hash: true
The extension emoji is not supported for revealjs
````
## test file
````markdown
---
title: test
format: revealjs
# variant: +emoji
---
# Slide with emoji
Here is a emoji
:smile:
````
| {
"assignee": null,
"comments": 2,
"created_at": "2021-07-23T16:39:02Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 60,
"state": "closed",
"title": "Passing non default extension to markdown input format ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/60"
} |
According to the revealjs docs on slide numbering (https://revealjs.com/slide-numbers/), I should be able to use the `slideNumbers` variable with any of these values:
Value | Description
-- | --
h.v | Horizontal . Vertical slide number (default)
h/v | Horizontal / Vertical slide number
c | Flattened slide number, including both horizontal and vertical slides
c/t | Flattened slide number / total slides
I can set it to `true` / `false` without problems, but using any string like these results in invisible render behavior? See video:
https://user-images.githubusercontent.com/12160301/126241726-d6f070e3-aab1-4ee1-a8f6-6010d597fb49.mov
Here is my YAML:
```
---
title: "A slide deck"
author: "Alison Hill"
format:
revealjs:
slideNumber: 'c/t'
---
```
| {
"assignee": null,
"comments": 4,
"created_at": "2021-07-19T23:53:12Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 59,
"state": "closed",
"title": "Render revealjs with configured slide numbers",
"url": "https://github.com/quarto-dev/quarto-cli/issues/59"
} |
With a navbar defined by:
https://github.com/pommevilla/incog-workbench/blob/cb6673c6647518e54d33f903fd851777f801a328/_quarto.yml#L17-L26
```
navbar:
search: true
logo: images/RStudio-ball.svg
right:
- text: "Rstudio.com"
url: 'https://www.rstudio.com/'
- text: "Release Notes"
url: "https://support.rstudio.com/hc/en-us/articles/200716783-RStudio-Release-History"
- text: "Help"
url: "https://support.rstudio.com/hc/en-us"
```
We see:
<img width="1436" alt="Screen Shot 2021-07-19 at 2 56 25 PM" src="https://user-images.githubusercontent.com/12160301/126233141-e046582f-e0a1-40d9-80ed-21ad508249cb.png">
It would look more streamlined to have the text aligned vertically with the search box.
Related issue: https://github.com/rstudio/rstudio-pro/issues/2747 | {
"assignee": null,
"comments": 2,
"created_at": "2021-07-19T22:08:16Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 58,
"state": "closed",
"title": "Vertically align search in top navbar with text",
"url": "https://github.com/quarto-dev/quarto-cli/issues/58"
} |
I found the follwing error when I render a qmd file which contains multibyte characters in `fig.cap` under non-English locale (`jp_JP.utf8`, Ubuntu 20.04 on WSL2).
```
quarto render reprex.qmd
...
Error in yaml::yaml.load(yaml, eval.expr = TRUE):
Scanner error: while scanning a quoted scalar at line 1, column 10 found unexpected end of stream at line 1, column 12
Calls: .main ... parse_block -> partition_yaml_options -> <Anonymous>
Execution halted
```
`reprex.qmd` is like this.
````
---
title: "Untitled"
format:
html:
theme: default
---
```{r}
#| fig.cap: "α"
plot(1)
```
````
I can avoid this error by executing `LOCALE=en_US.utf8 quarto render ....` in the terminal. But it's inconvenient on RStudio.
NOTE: Pandoc's native syntax (like `![Elephant](elephant.png)`) doesn't return error. | {
"assignee": null,
"comments": 2,
"created_at": "2021-07-16T07:18:34Z",
"creator": "Gedevan-Aleksizde",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 57,
"state": "closed",
"title": "Figure caption error with multibyte characters and non-English locale",
"url": "https://github.com/quarto-dev/quarto-cli/issues/57"
} |
When I type `quarto serve help`, I get a bunch of information including: ` Serve but don't open a browser: quarto serve --no-browser`. But when I actually try the command, I'm told that the option is `--no-browse` (note the lack of 'r'). | {
"assignee": null,
"comments": 1,
"created_at": "2021-07-09T20:49:03Z",
"creator": "christine-e-smit",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 55,
"state": "closed",
"title": "small typo in command line help",
"url": "https://github.com/quarto-dev/quarto-cli/issues/55"
} |
Given a Quarto project with a single `index.md`:
````markdown
---
title: widelink
---
## level two
we will give a link to the `shiny_prerendered_app` function: <https://github.com/rstudio/rmarkdown/blob/1ea35758871f6246ace35dc87a7879153deea380/R/shiny_prerendered.R#L2-L3>
* a link to `html_dependency_highlightjs`: <https://github.com/rstudio/rmarkdown/blob/1ea35758871f6246ace35dc87a7879153deea380/R/html_dependencies.R#L411-L419>
* a sublist with the same link: <https://github.com/rstudio/rmarkdown/blob/1ea35758871f6246ace35dc87a7879153deea380/R/html_dependencies.R#L411-L419>
````
```yaml
project:
type: site
site:
title: "wide link list"
sidebar:
contents:
- index.md
format:
html:
theme: darkly
toc: true
```
The rendered site shows the long links, presents it as wrapped, but some of the long-line text is hidden by the TOC box. Sometimes (depending on indenting), that text can flow to the far right-hand side (past the TOC box):
<img width="1106" alt="image" src="https://user-images.githubusercontent.com/362187/124293022-36d27580-db24-11eb-912f-9335e18e6dc9.png">
This example is using the `darkly` theme to make the text truncation more obvious.
I saw this display problem because one of my Markdown documents had a bare link; I can avoid it by using `[text](url)` instead. I don't know if it happens with other text that can overflow. | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2021-07-02T14:58:36Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 51,
"state": "closed",
"title": "TOC covers wide text",
"url": "https://github.com/quarto-dev/quarto-cli/issues/51"
} |
Using a development Quarto build (a53ce3b8937f3e222628c79a3c97856a2d09be6b).
The Markdown file:
````markdown
---
title: "commands and logs"
---
Let's celebrate Wilco, shall we?
```bash
for i in yankee hotel foxtrot ; do echo $(date) $i ; done > data.log
```
Your `data.log` file should now look like:
```
Wed Jun 30 13:01:08 EDT 2021 yankee
Wed Jun 30 13:01:08 EDT 2021 hotel
Wed Jun 30 13:01:08 EDT 2021 foxtrot
```
That's quite nice, no?
````
The `quarto render log.md` command produces HTML that does not have any sort of visible bounding box around the second code block (which has no language tag).
<img width="701" alt="image" src="https://user-images.githubusercontent.com/362187/124002701-0ebc0880-d9a4-11eb-9faf-57e60c19eec5.png">
Compare to result produced by `rmarkdown::render("log.md")`:
<img width="573" alt="image" src="https://user-images.githubusercontent.com/362187/124002635-fcda6580-d9a3-11eb-84b1-0a75790decfa.png">
Visually, the R Markdown version is nicer, as it marks the fixed-font region apart from the surrounding text.
I can appreciate that some fixed-font blocks won't want framing (background or border), but there doesn't appear to be a way of marking this as "program output" without giving it a language tag, which has additional baggage (syntax highlighting).
Workaround is to declare a custom highlighting syntax definition, making this look like a language when it isn't.
The modified Markdown:
````markdown
---
title: "commands and logs"
syntax-definition: log.xml
---
...
```log
Wed Jun 30 13:01:08 EDT 2021 yankee
Wed Jun 30 13:01:08 EDT 2021 hotel
Wed Jun 30 13:01:08 EDT 2021 foxtrot
```
````
The syntax definition:
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="LOG Files" section="Configuration" extensions="*.log" mimetype="" version="10" kateversion="5.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
<highlighting>
<contexts>
<context name="log" attribute="Normal Text" lineEndContext="#pop">
</context>
</contexts>
</highlighting>
</language>
```
Given this, the rendering becomes:
<img width="715" alt="image" src="https://user-images.githubusercontent.com/362187/124004621-32804e00-d9a6-11eb-9286-4b1dca27738c.png">
| {
"assignee": null,
"comments": 2,
"created_at": "2021-06-30T17:24:13Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 49,
"state": "closed",
"title": "code blocks without language tags have no visible bounding box",
"url": "https://github.com/quarto-dev/quarto-cli/issues/49"
} |
Using a development Quarto build (a53ce3b8937f3e222628c79a3c97856a2d09be6b).
The Markdown file:
````markdown
---
title: "code block newline"
---
``` {.dockerfile}
RUN curl -fsSL -O https://cdn.rstudio.com/r/${R_DISTRIBUTION}/pkgs/${R_INSTALLER} && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -f -y ./${R_INSTALLER} && \
rm ${R_INSTALLER} && \
rm -rf /var/lib/apt/lists/*
```
````
`quarto render` has the code block with an additional line of whitespace between the `RUN curl` and the `export DEBIAN...` lines.
<img width="825" alt="image" src="https://user-images.githubusercontent.com/362187/124001472-ac163d00-d9a2-11eb-857f-6af6f485f192.png">
This may be related to #44, which documented a different consequence of long-lines in code blocks. | {
"assignee": null,
"comments": 13,
"created_at": "2021-06-30T16:58:06Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 48,
"state": "closed",
"title": "code block given newline",
"url": "https://github.com/quarto-dev/quarto-cli/issues/48"
} |
I have a `404.md` in the root directory of the preview site for the Workbench redesign:
- [Repo](https://github.com/pommevilla/incog-workbench)
- [Preview site](https://pommevilla.github.io/incog-workbench/)
When I serve this locally, the 404 page works as expected: going to `http://localhost:4848/fake.html` and `http://localhost:4848/getting_started/fake.html` both show the correctly rendered 404 page and in both cases I am able to navigate away via the sidebar and the navbar.
When I try this on the live preview site, the 404 page correctly renders for [https://pommevilla.github.io/incog-workbench/fake.html](https://pommevilla.github.io/incog-workbench/fake.html) and I am able to navigate away as above. However, when I try [https://pommevilla.github.io/incog-workbench/getting_started/fake.html](https://pommevilla.github.io/incog-workbench/getting_started/fake.html), the 404 page doesn't render correctly and I can't navigate away from the sidebar and the url just keeps piling up as I click around to something like `https://pommevilla.github.io/incog-workbench/getting_started/getting_started/authenticating_users/access_and_security/access_and_security/authenticating_users/access_and_security/secure_sockets.html` - all the links I'm clicking are taken as relative to the directory of the incorrect page.
I've set `site-url: https://pommevilla.github.io/incog-workbench`. I tried this with and without the `permalink: /404.html` suggested by Github [here](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site) and still get the same behavior.
I looked around and found several places saying that custom 404 pages for subdirectories don't work when served out of the root directory: [here](https://github.community/t/links-on-custom-404-page-broken-when-accessed-from-subdirectory-solved/10443). Since the issue seemed to be around working out of a subdirectory, I copied the repo and hooked that up to a [custom domain](https://incog-workbench.com/), but I'm still getting the same behavior: links like [https://incog-workbench.com/broken.html](https://incog-workbench.com/broken.html) work fine, but links like [https://incog-workbench.com/load_balancing/broken.html](https://incog-workbench.com/load_balancing/broken.html) still lead to the same behavior above. | {
"assignee": null,
"comments": 3,
"created_at": "2021-06-29T21:55:31Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 47,
"state": "closed",
"title": "404 not behaving correctly for subdirectories",
"url": "https://github.com/quarto-dev/quarto-cli/issues/47"
} |
Quarto version: 0.1.296
Using a Markdown document with very-long-line code block:
````markdown
---
title: wrapping
---
A very long fixed-font block.
```bash
export SOME_VERY_LONG_VARIABLE="https://${SOME_VERY_LONG_SERVER_NAME}:${SOME_VERY_LONG_PORT}/"
```
````
Rendering this document:
```bash
quarto render index.md
```
Produces the layout (on Safari):
<img width="822" alt="image" src="https://user-images.githubusercontent.com/362187/123644734-a5959300-d7f3-11eb-8260-a9e191b5957b.png">
The `export` is on a separate line than the variable definition.
Additionally, the scrollable region has the following appearance when scrolled to the right:
<img width="807" alt="image" src="https://user-images.githubusercontent.com/362187/123644844-c362f800-d7f3-11eb-8415-98982dc8ed90.png">
The code-block text bleeds out of the grey box is is supposed to be contained in.
On hover:
<img width="813" alt="image" src="https://user-images.githubusercontent.com/362187/123644943-dfff3000-d7f3-11eb-8aa9-5ef679e7402b.png">
The copy button stays with the box, which means it is to the left of the end of the text. | {
"assignee": null,
"comments": 2,
"created_at": "2021-06-28T13:33:47Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 44,
"state": "closed",
"title": "code blocks have wrapping",
"url": "https://github.com/quarto-dev/quarto-cli/issues/44"
} |
Given a site defined by:
```yaml
project:
type: site
site:
title: "self-linking"
navbar:
left:
- href: index.md
text: Home
```
and a single Markdown file:
```markdown
---
title: self-linking
---
this is a link to [me](./).
```
The rendered content has a directory reference as its link:
```html
<p>this is a link to <a href="./">me</a>.</p>
```
However, the navbar links are generated as file references to `index.html`. Here's one example:
```html
<a class="navbar-brand" href="./index.html">
self-linking
</a>
```
In comparison, a very similar mkdocs site (with a `docs/index.md` file):
```yaml
site_name: self-linking
nav:
- "home": index.md
```
produces navbar links like:
```html
<a class="navbar-brand" href=".">self-linking</a>
```
This avoids leaking `index.html` into URLs. | {
"assignee": null,
"comments": 2,
"created_at": "2021-06-25T20:13:00Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 43,
"state": "closed",
"title": "suggestion: emit directory links rather than \"./index.html\" links",
"url": "https://github.com/quarto-dev/quarto-cli/issues/43"
} |
The `_site`/`_book` directories should be added to the `.gitignore` when initializing a new website/book.
```
quarto create-project my-site --type site
echo _site >> my-site/.gitignore
quarto create-project my-book --type book
echo _book >> my-book/.gitignore
```
| {
"assignee": null,
"comments": 2,
"created_at": "2021-06-25T18:28:54Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 42,
"state": "closed",
"title": "suggestion: site/book creation should .gitignore _site/_book",
"url": "https://github.com/quarto-dev/quarto-cli/issues/42"
} |
I'm currently working on a project that tentatively will have many contributors and each chapter will probably use its own python environment. Right now Quarto uses the active environment to render the final output and I wonder if there is a way that Quarto can be environment aware, i.e. each chapter or sub directory could have a `.python-version` that can be activated by Quarto (Conda or pyenv). It will be up to the users to install these environments, Quarto will only activate them to render the output.
| {
"assignee": null,
"comments": 7,
"created_at": "2021-06-21T16:12:00Z",
"creator": "betolink",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 41,
"state": "closed",
"title": "Multiple Python environments in the same project",
"url": "https://github.com/quarto-dev/quarto-cli/issues/41"
} |
When rendering the following `example.rmd` I ran into some inconsistencie regarding evaluation of inline code:
```
---
title: "RStudio Workbench"
date: "`r Sys.Date()`"
---
One plus two is `r 1 + 2`.
Today's date is `r Sys.Date()`.
```
When I knit `example.rmd` in Rstudio, I get the expected output:
![image](https://user-images.githubusercontent.com/6981612/122700841-a9348300-d211-11eb-930c-0bc6a5dbbee6.png)
Calling `quarto render example.rmd` gives:
![image](https://user-images.githubusercontent.com/6981612/122701007-f57fc300-d211-11eb-9ea2-b4c501715892.png)
When I label it as `example.qmd` and render it from RStudio, I get this:
![image](https://user-images.githubusercontent.com/6981612/122700876-bbaebc80-d211-11eb-8d12-8c9481bacd2b.png)
Calling `quarto render example.qmd` gives:
![image](https://user-images.githubusercontent.com/6981612/122700940-db45e500-d211-11eb-9dd3-f2ac1c63bb58.png)
This was on the most recent dev release of `quarto-cli`.
| {
"assignee": null,
"comments": 7,
"created_at": "2021-06-21T02:57:56Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 40,
"state": "closed",
"title": "Not evaluating inline code consistently",
"url": "https://github.com/quarto-dev/quarto-cli/issues/40"
} |
When you're editing documents while using `quarto serve` on the command line, you get these "error" messages upon saving changes to any files:
![image](https://user-images.githubusercontent.com/6981612/122677957-422fb380-d1aa-11eb-997b-f4a46ce6c68a.png)
Is there a way we can change this message so a less experienced user doesn't get worried by all the "error" messages? Or is this just something we'll have to bring to the user's attention in the docs?
| {
"assignee": null,
"comments": 4,
"created_at": "2021-06-20T14:37:02Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 39,
"state": "closed",
"title": "\"Error\" messages when refreshing during `quarto serve`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/39"
} |
I am very sorry if I missed this - but where is the best place to ask support-like questions about Quarto? Is that here? Or somewhere else?
We've very interested in Quarto for an R / Python book we are writing, but I couldn't immediately see how to execute code before knitr rendering, for each book chapter - a nice feature of Bookdown.
@stefanv is my book co-author, and pointed me to Quarto. | {
"assignee": null,
"comments": 7,
"created_at": "2021-06-19T13:56:33Z",
"creator": "matthew-brett",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 38,
"state": "closed",
"title": "Where do we ask questions about Quarto?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/38"
} |
I tested Quarto this morning on Windows with various shells and stumbled again on an old issue regarding using R in terminal on Windows. This caused me pain with Quarto not finding the R packages depending on where it is used. Best thing would be to show you but in short: R user's lib path is not the same depending on the shell used ! It seems crazy but I think it relies on the HOME folder not being the same either.
With an R Session on RStudio and cmd, lib path will be inside `Documents`
```r
> Sys.getenv("R_LIBS_USER")
[1] "C:\\Users\\chris\\Documents/R/win-library/4.1"
> path.expand('~')
[1] "C:\\Users\\chris\\Documents"
```
but with Powershell or minGW, user lib path will be elsewhere, inside user directory.
```r
> Sys.getenv("R_LIBS_USER")
[1] "C:\\Users\\chris/R/win-library/4.1"
> path.expand('~')
[1] "C:\\Users\\chris"
```
As I am an R users using mainly RStudio, my packages are installed in `C:\\Users\\chris\\Documents/R/win-library/4.1`. This causes Quarto to no find out R packages on Powershell and MinGW (`quarto env` results). It would require maintaining two user libraries to render the same no matter which tool is used.
This is an issue I already encountered when using Makefile with R. This home directory behavior is painful on Windows.
I am not sure which is the best solution, but I think this will clearly creates pain for users trying to use Quarto and R outside of RStudio. (Using Powershell or MinGW inside RStudio Terminal does not have this issue).
I opened this issue as notes for our discussions. Maybe one of you encountered that already | {
"assignee": null,
"comments": 2,
"created_at": "2021-06-14T10:46:15Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 37,
"state": "closed",
"title": "Quarto and R packages on Windows: different user lib depending on shell used",
"url": "https://github.com/quarto-dev/quarto-cli/issues/37"
} |
I took a stab at making a Github action that renders the contents of a repo. I'm definitely no actions expert, but I tested rendering R documents and Python documents `windows-latest` and `ubuntu-latest`. Short story: R was fine, but I ran into issue with Python because of the same Jupyter error I was seeing earlier last week. See the example workflows [here](https://github.com/pommevilla/quarto-action-tests/tree/main/.github/workflows).
Once the action is made, if the user wants to use it, they will have to supply a list of packages that they're using in their documents so that Quarto can actually render them. Python makes that easy with `pip freeze > requirements.txt`, and we can use `Renv` lockfiles to handle that for R. I haven't done much work with Julia, but it looks like we can do [something similar](https://discourse.julialang.org/t/install-a-packages-from-a-list/30920) ([also here](https://discourse.julialang.org/t/installing-packages-from-a-list/20450)).
There may be some errors in installing packages depending on what OS the user is writing on. For instance, I wrote [these examples](https://github.com/pommevilla/quarto-action-tests) on a Windows machine. When I went to test on `ubuntu-latest`, it ran into an error because `pywin32` and `pywinpty` are Windows-only packages and won't install on Ubuntu. We can get around this either by structuring the requirements [like this](https://github.com/pommevilla/quarto-action-tests/tree/main/requirements) and calling the `pip install` command accordingly or by just parsing requirement files for platform-specific packages.
There will also probably be errors if the packages that the person is using is not found on CRAN, PyPI, or whatever the Julia equivalent is.
Rendering R Markdown documents seems to work fine. Here is an [example workflow](https://github.com/pommevilla/quarto-action-tests/blob/main/.github/workflows/min-r.yml) I wrote that installs the latest Quarto-CLI (hardcoded for now), restores the R packages used via `Renv`, and renders the RMarkdown file. Just a note that sometimes this Install packages step took a long time for the R case, sometimes upwards of 10 minutes. There's also an example step at the bottom that pushes the new renders to the repo.
I only tested R on Ubuntu because setting up Quarto through Github Actions was...challenging. I originally tried to do silent install via `msiexec`, but I wasn't able to get the options I found via Orca to work. I eventually ended up using Christophe's [scoop bucket](https://github.com/cderv/r-bucket) to get it to work on `windows-latest`, but then `scoop` wasn't persisting between steps, so I had to make everything into one big step and it kind of sucks. This is my first time writing actions, though, so I'm probably forgetting something.
Quarto's having problems rendering Python, though, and it's the same error I was experiencing with running `quarto` commands on Windows outside of the symbolic link that the development version of `quarto-cli` sets up - `quarto` is unable to start up a Jupyter kernel, producing this error:
![image](https://user-images.githubusercontent.com/6981612/121795485-0d829180-cbd7-11eb-96ce-fad3e9c89a39.png)
I reproduced this problem on [Linux ](https://github.com/pommevilla/quarto-action-tests/blob/main/.github/workflows/min-linux-python.yml) and [Windows](https://github.com/pommevilla/quarto-action-tests/blob/main/.github/workflows/min-windows-python.yml) (I had to make it all one big step in the Windows workflow because `scoop` wasn't persisting between steps for some reason).
I remember that this error has to do with Quarto starting a Jupyter daemon in the background - I just wanted to share this issue so everyone's aware of it.
| {
"assignee": null,
"comments": 11,
"created_at": "2021-06-13T04:52:22Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 36,
"state": "closed",
"title": "Notes on making a quarto-render Github Action",
"url": "https://github.com/quarto-dev/quarto-cli/issues/36"
} |
After installing [IJulia](https://github.com/JuliaLang/IJulia.jl) and [JuliaCall](https://cran.r-project.org/web/packages/JuliaCall/index.html) on Windows 10, I'm able to get qmd files containing R, Python, and Julia running (though it seems to be running quite slowly). If I try to render a qmd only containing Julia code, a Julia daemon pops up and the file renders fine as long as I keep that open. If I close it, a new daemon doesn't start and I get this error:
![image](https://user-images.githubusercontent.com/6981612/121590028-6e567200-c9fd-11eb-8122-cb96df8bb5c3.png).
If I restart the quarto-cli shell and try to render it again, I get the same error. If I open Task Manager and close this Python application...
![image](https://user-images.githubusercontent.com/6981612/121590507-018fa780-c9fe-11eb-875e-9d112ff86770.png)
...I'm able to render Julia files again. I'm guessing it has something to do Julia being computed through a Jupyter kernel and even though the Julia daemon gets closed, the Python/Jupyter app is staying open and messing with stuff.
**Steps to reproduce**
A small example file named `julia.qmd`:
---
title: "Matplotlib Demo"
author: "Norah Smith"
date: "May 22nd, 2021"
format:
html:
code-fold: true
---
## Julia
```{julia}
using Plots
x = 1:10; y = rand(10, 2);
plot(x, y)
```
I then ran `quarto render julia.qmd` and ran into the experience outlined above.
| {
"assignee": null,
"comments": 2,
"created_at": "2021-06-10T20:16:23Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 35,
"state": "closed",
"title": "Difficulties re-rendering qmd documents containing only Julia code",
"url": "https://github.com/quarto-dev/quarto-cli/issues/35"
} |
In powershell
````powershell
❯ quarto --version
v0.1.250
❯ quarto install -lt
ERROR TypeError: Error parsing args: serde_v8 error: ExpectedString
````
`-lt` is indicated as the shorter form of `--list-tools` which works. | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2021-06-10T09:30:28Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 34,
"state": "closed",
"title": "`quarto install -lt` errors on Windows",
"url": "https://github.com/quarto-dev/quarto-cli/issues/34"
} |
I've been getting this error whenever I try to render Python code:
![image](https://user-images.githubusercontent.com/6981612/121452484-19ffb380-c965-11eb-8b12-eb80b7a02105.png)
I'm running the code from the [Hello, Quarto](https://quarto.org/#hello-quarto) example. I'm able to execute it as a Jupyter Notebook and as standalone Python script and save the output as an image. This error happens when I try to render it either as a Jupyter Notebook or as a qmd file.
I thought this might have been because I was originally doing this from a conda virtual environment, but I uninstalled all the Python versions on my machine and did a fresh reinstall and am still getting the same error.
The path given by `which python` matches the one in my `quarto env`...
![image](https://user-images.githubusercontent.com/6981612/121453551-f9385d80-c966-11eb-8bb9-c24ef1de23ef.png)
![image](https://user-images.githubusercontent.com/6981612/121453472-d6a64480-c966-11eb-9085-1a0cc66a27e0.png)
...though there is another entry in there that I'm not quite sure got there.
This is on the most recent version of `quarto-cli` though it has been happening for the past couple of days. | {
"assignee": null,
"comments": 3,
"created_at": "2021-06-10T02:14:08Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 33,
"state": "closed",
"title": "Python not found by Quarto",
"url": "https://github.com/quarto-dev/quarto-cli/issues/33"
} |
I created a small page using Quarto and Github Pages ([repo](https://github.com/pommevilla/friendly-dollop), [page](https://pommevilla.github.io/friendly-dollop/)). I first wrote an Rmd and a R script, made sure they were working as desired, then called `quarto create-project` in that directory. A minimal `_quarto.yml` is created and the related `quarto` statements are added to `.gitignore`.
When I call `quarto render`, I get the expected html. However, when I call `quarto serve,` I get this error:
![image](https://user-images.githubusercontent.com/6981612/120709341-583b3580-c482-11eb-8262-7ae573a1daf0.png)
I deleted `_quarto.yml`, `.quarto/`, and the output created by `quarto` and then rendered everything without those quarto files. I got the same html document that I did with the `quarto.yml` in my directory. I also reproduced this error on other repos.
I think this also has to do with a problem I was having with changing `output-dir` in `_quarto.yml`. I tried setting `_quarto.yml: docs`, but the output directory never showed up. It looks like `quarto serve` isn't seeing `_quarto.yml` for some reason.
**Steps to reproduce**
1. `git clone https://github.com/pommevilla/friendly-dollop.git`
2. `cd friendly-dollop`
3. `quarto serve`
**Error**
- See picture above.
**System**:
- Windows 10
| {
"assignee": null,
"comments": 1,
"created_at": "2021-06-03T20:58:11Z",
"creator": "pommevilla",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 32,
"state": "closed",
"title": "`quarto serve` saying that directory is not a project",
"url": "https://github.com/quarto-dev/quarto-cli/issues/32"
} |
My YAML:
```
site:
navbar:
type: light
right:
- text: "Home"
file: index.Rmd
- text: why
```
Looks like:
<img width="1134" alt="Screen Shot 2021-04-23 at 1 41 35 PM" src="https://user-images.githubusercontent.com/12160301/115927771-d0e9b380-a439-11eb-89c3-59c9fcf5e75b.png">
If I add any left element:
```
site:
navbar:
type: light
left:
- text: on your left
right:
- text: "Home"
file: index.Rmd
- text: why
```
Then the other elements correctly move to the right.
<img width="1099" alt="Screen Shot 2021-04-23 at 1 44 15 PM" src="https://user-images.githubusercontent.com/12160301/115927884-042c4280-a43a-11eb-9609-d25974d7579a.png">
| {
"assignee": null,
"comments": 0,
"created_at": "2021-04-23T20:45:56Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 28,
"state": "closed",
"title": "Navbar right only works if left also present",
"url": "https://github.com/quarto-dev/quarto-cli/issues/28"
} |
I noticed that if I intentionally close all the sections, but then open a page in an expanded section, all the other sections automatically expand too. See video:
https://user-images.githubusercontent.com/12160301/115921193-025d8180-a430-11eb-91dc-2bb96d724f29.mov
| {
"assignee": "dragonstyle",
"comments": 8,
"created_at": "2021-04-23T19:34:06Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 27,
"state": "closed",
"title": "Mistaken expansion of all sections in sidebar section navigation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/27"
} |
When you click on a top-level item in the sidebar navigation, a blue box shadow shows up.
<img width="1130" alt="Screen Shot 2021-04-23 at 12 30 40 PM" src="https://user-images.githubusercontent.com/12160301/115920959-bd394f80-a42f-11eb-87d0-81d185023fdc.png">
Maybe considering removing the box shadow here?
```
.btn-check:focus + .btn, .btn:focus {
outline: 0;
/* box-shadow: 0 0 0 .25rem rgba(39,128,227,.25); */
}
``` | {
"assignee": null,
"comments": 1,
"created_at": "2021-04-23T19:31:16Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 26,
"state": "closed",
"title": "Consider removing button focus effect on sidebar navigation?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/26"
} |
With an anchored sidebar, the CSS shows:
```
.overflow-scroll {
overflow: scroll !important;
}
```
I think this is causing the horizontal bar at the bottom of the sidebar here:
<img width="590" alt="Screen Shot 2021-04-23 at 10 26 33 AM" src="https://user-images.githubusercontent.com/12160301/115908126-9cb4c980-a41e-11eb-90b4-f5315807163a.png">
Changing this to:
```
.overflow-scroll {
overflow-y: scroll !important;
overflow-x: auto;
}
```
Keeps the y axis scroll but (I believe) will only keep the x axis scroll if someone enters text that is too long:
<img width="1352" alt="Screen Shot 2021-04-23 at 10 29 22 AM" src="https://user-images.githubusercontent.com/12160301/115908350-e998a000-a41e-11eb-8009-6a3d75615c52.png">
| {
"assignee": null,
"comments": 2,
"created_at": "2021-04-23T17:31:14Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 25,
"state": "closed",
"title": "Tweak anchored sidebar overflow CSS",
"url": "https://github.com/quarto-dev/quarto-cli/issues/25"
} |
Here is my sidebar:
```
sidebar:
title: "Quarto Demo"
tools:
- icon: twitter
href: https://twitter.com
- icon: github
menu:
- text: Source Code
- url: https://code.com
- text: Report a Bug
- url: https://bugs.com
```
I don't think the anchor link is actually necessary for that header, but it is also causing the title to not be centered, and the icon alignment looks off because of it:
<img width="665" alt="Screen Shot 2021-04-23 at 10 19 40 AM" src="https://user-images.githubusercontent.com/12160301/115907378-a4c03980-a41d-11eb-8c28-3605d9fd7d7e.png">
The subtitle is centered because it does not have a header tag, and hence no anchor link. | {
"assignee": null,
"comments": 2,
"created_at": "2021-04-23T17:24:43Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 24,
"state": "closed",
"title": "Remove anchor link from sidebar title, or ensure title text is centered",
"url": "https://github.com/quarto-dev/quarto-cli/issues/24"
} |
The format is inspired by the current version of `sass::sass_layer()`
```
/*-- scss:declarations --*/
@function colorToRGB ($color) {
@return "rgb(" + red($color) + ", " + green($color) + ", " + blue($color)+ ")";
}
/*-- scss:variables --*/
$h2-font-size: 1.6rem !default;
$headings-font-weight: 500 !default;
$body-color: $gray-700 !default;
/*-- scss:rules --*/
h1, h2, h3, h4, h5, h6 {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .3);
}
```
We'll likely be deprecating the concept of `declarations` in favor of `functions` and `mixins` (https://github.com/rstudio/sass/pull/80), which will allow variable defaults to make use of functions
```
/*-- scss:functions --*/
@function color-contrast($color) {
@return if(
red($color) * 0.299 + green($color) * 0.587 + blue($color) * 0.114 > 186,
black, white
);
}
/*-- scss:variables --*/
$body-color: color-contrast($body-bg) !default;
/*-- scss:mixins --*/
@mixin body-color {
color: $body-color
}
/*-- scss:rules --*/
body {
@include body-color;
}
``` | {
"assignee": "dragonstyle",
"comments": 6,
"created_at": "2021-04-23T16:00:48Z",
"creator": "cpsievert",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 23,
"state": "closed",
"title": "Update Sass theme format to reflect new sass::sass_layer()",
"url": "https://github.com/quarto-dev/quarto-cli/issues/23"
} |
It looks like the embedded [bootswatch themes ](https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/formats/html/bootstrap/themes) currently use the v1 Google Fonts API that doesn't support variable fonts:
https://github.com/quarto-dev/quarto-cli/blob/a14f4b3090178f8e01f17e28a9e93d3f5b269065/src/resources/formats/html/bootstrap/themes/sketchy.scss#L169
It doesn't seem to impact behavior of themes now, but something to be aware of is the v2 Google Fonts API uses a different base URL, see:
https://developers.google.com/fonts/docs/css2 | {
"assignee": null,
"comments": 3,
"created_at": "2021-04-22T23:33:06Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 22,
"state": "open",
"title": "v2 Google Fonts API?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/22"
} |
pretty excited to see this: https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/html/bootstrap/dist/scss/_utilities.scss
This is a great alternative to Tachyons, Tailwind CSS, etc.
Advanced usage would use SASS to bundle up utility classes, but the underlying utility library makes iteration much faster. Needs good docs :) | {
"assignee": null,
"comments": 1,
"created_at": "2021-04-06T01:18:17Z",
"creator": "apreshill",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 248,
"state": "open",
"title": "TODO: document bootstrap utility classes",
"url": "https://github.com/quarto-dev/quarto-cli/issues/248"
} |
I'm rendering a very basic Rmd that knits just fine:
**test2.Rmd**
```
---
title: "Building R from source"
author: "Andrie de Vries"
date: "6 July 2018"
output:
html_document:
self_contained: no
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
Some text
```
I then run ` quarto render .\test2.Rmd` but I get this error:
```
Error running filter C:/Program Files/Quarto/share/filters/quarto-pre/quarto-pre.lua:
...ram Files/Quarto/share/filters/quarto-pre/quarto-pre.lua:1343: attempt to index a nil value (local 'f')
stack traceback:
...ram Files/Quarto/share/filters/quarto-pre/quarto-pre.lua:1343: in function 'readIncludeFiles'
...ram Files/Quarto/share/filters/quarto-pre/quarto-pre.lua:1307: in function <...ram Files/Quarto/share/filters/quarto-pre/quarto-pre.lua:1299>
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at runPandoc (file:///C:/Program%20Files/Quarto/bin/quarto.js:19872:36)
at async renderPandoc (file:///C:/Program%20Files/Quarto/bin/quarto.js:20008:27)
at async renderFiles (file:///C:/Program%20Files/Quarto/bin/quarto.js:17379:34)
at async render (file:///C:/Program%20Files/Quarto/bin/quarto.js:17788:22)
at async Command.fn (file:///C:/Program%20Files/Quarto/bin/quarto.js:20208:29)
at async Command.execute (file:///C:/Program%20Files/Quarto/bin/quarto.js:1812:17)
at async Command.parse (file:///C:/Program%20Files/Quarto/bin/quarto.js:1765:20)
at async Command.parse (file:///C:/Program%20Files/Quarto/bin/quarto.js:1727:20)
at async quarto1 (file:///C:/Program%20Files/Quarto/bin/quarto.js:24974:5)
```
My environment:
```
PS C:\Users\apdev\Documents\github\experiments\zendesk_articles> quarto help
Usage: quarto
Version: vv0.1.117
``` | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2021-03-05T08:35:53Z",
"creator": "andrie",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 21,
"state": "closed",
"title": "Rendering a basic Rmd on Windows throws lua filter errors",
"url": "https://github.com/quarto-dev/quarto-cli/issues/21"
} |
The Wiki introduces how to control the caption of code fodling with the `fold` chunk option.
However, I think the caption should be tweaked by different chunk option, and the `fold` chunk option rather control if fold is initially open or closed (e.g., `fold="open"`, `fold="closed"`).
Of course we can keep the current implementation and have another chunk option to specify the initial state.
https://github.com/quarto-dev/quarto-cli/wiki/Rendering-Rmds#code-folding | {
"assignee": null,
"comments": 12,
"created_at": "2021-02-07T12:10:35Z",
"creator": "atusy",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 19,
"state": "closed",
"title": "On controlling code folding's initial state",
"url": "https://github.com/quarto-dev/quarto-cli/issues/19"
} |