Wrap Execution Output #6017
-
DescriptionWhen rendering on my machine configuration options like Is there anyway to force the rendered output to wrap to the screen length (or even a default max width) like the input code blocks? Apologies if I'm missing an obvious configuration. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
For PDF, see: Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello I am also facing quite a similar problem and this does not seem to solve my problem: ---
title: Getting Started
engine: julia
format:
html:
toc-title: "Getting Started"
code-fold: false
code-overflow: wrap
execute:
echo: true
output: false
---
These code blocks are plotting in form of svg code so, is there any way to store those svg somewhere instead of directly writing svg in html files, I mean If user want to download the output image then he should be by right clicking in browser!! current svg file are not even selectable in website. Here is the full website repo: https://github.com/TuringLang/turing-test-website All codes in this issue are from this quarto document: https://github.com/TuringLang/turing-test-website/blob/main/docs/using-turing/getting-started/index.qmd
I am trying to wrap output blocks using the css you mentioned in this issue here in styles.css: https://github.com/TuringLang/turing-test-website/blob/main/styles.css Here the output of problem I am facing: https://turinglang.org/turing-test-website/docs/using-turing/getting-started/#example |
Beta Was this translation helpful? Give feedback.
For PDF, see:
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks.
You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four
````
).