Instructions to Render gt table Quarto/Markdown to MS Word #1161
Replies: 3 comments
-
I've been able to get |
Beta Was this translation helpful? Give feedback.
-
Try using the yaml header: prefer-html: true And then just print the |
Beta Was this translation helpful? Give feedback.
-
What's the point of |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I've tried to follow the example from release 7 and the gtcars dataset to render a report to Word. However, the table doesn't show up in the render. Am I doing something wrong? I show an example here where I call the table at the end of a code chunk AND I try to call the table inline with single backticks.
`---
title: "gt cars practice"
format: docx
editor: visual
Quarto
Here's a gt table for gtcars
Here should be the table too
r tab_rtf
`
The screenshot below is what is rendered.
Any help, please!
![Screenshot 2022-12-06 at 7 20 36 PM](https://user-images.githubusercontent.com/54380538/206055986-c3ccfe1e-6e94-4101-811b-b42ce42d1607.png)
![Screenshot 2022-12-06 at 7 21 02 PM](https://user-images.githubusercontent.com/54380538/206056246-8e9ed901-16d8-447a-8a0b-d6cd9e41d69d.png)
Beta Was this translation helpful? Give feedback.
All reactions