Skip to content

Issue Wrapping Text Around Image in Quarto (HTML Output) #4540

@sophiestrazie

Description

@sophiestrazie

Bug description

The problem:

  • I have tried multiple approaches to having an image on my website flushed left (or right) where my bio (long text start, long text stop) can wrap around it. I've tried kable as well, nothing.

System Information
IDE: R Studio [Version 2022.12.0+353 (2022.12.0+353)]
R Version: 4.2.2
Provided through Netlify
Rendered on Desktop (not GitHub)
Operating System: MacOS Ventura 13.1

Attempt 1

---
title: "About"
---

Long text start
![caption](image.png)
Long text end

Attempt 2

  • I've tried various settings with the R code chunks working with YAML to have the text wrap around this figure, but this approach to images doesn't seem to have any solutions either.
---
title: "About"
---

Long text start
```{r echo=FALSE, fig.align = "left", out.width='50%'}

knitr::include_graphics('image.png')

```
Long text end

Many thanks!

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions