Questions tagged [pagedown]
PageDown is the JavaScript Markdown previewer used on Stack Overflow and the rest of the Stack Exchange network. It includes a Markdown-to-HTML converter and an in-page Markdown editor with live preview.
156
questions
0
votes
0
answers
18
views
I would like to create a barcode to do the function of page down on a Eyoyo scanner. Is that possible?
I would like to create a barcode to do the function of page down on a Eyoyo scanner. Is that possible?
could not find one online
0
votes
0
answers
15
views
How to prevent select box from responding to pageup/pagedown
The angular list box behavior is to respond to pageup/pagedown and scroll through the elements, even if the dropdown is not open.
How can I globally prevent ALL list boxes from responding to pagedown/...
0
votes
0
answers
42
views
Tippy is not showing up in rmarkdown using the pagedown output
I am trying to use the tippy package in rmarkdown using the pagedown output, but it's not working. It works fine when using the regular html page output though. I suspect the issue is that the ...
0
votes
1
answer
31
views
Suppress download message from ceramic package in pagedown Rmarkdown
I have a loop that clips to different features and the ceramic package downloads a basemap for each feature and then the map is printed using the tmap package. In an html or pdf output in Rmarkdown, I ...
1
vote
1
answer
64
views
gtExtras winloss table in loop rendering with partially raw, partially rendered HTML
I am trying to print gtExtras::gt_plt_winloss tables in a for loop in a paged HTML RMarkdown document. Outside of a loop, the tables are rendering as expected. Inside of a loop, the table preview is ...
4
votes
2
answers
164
views
Is there a way to suppress glue output in R, if the variable is empty?
I am creating a resume using pagedown. It takes a data.frame of CV inputs and generates a pagedown HTML output via glue package. However, if the variable is empty (as in the example below), glue ...
0
votes
0
answers
15
views
To knit an external pagedown rmd file to a pdf
Is it possible in a pagedown rmd file to call and knit an external pagedown rmd file?
I tried rmarkdown::render() in an r code chunk. It did not work.
0
votes
1
answer
46
views
highcharter is not working in pagedown with rmarkdown
When working with pagedown in rmarkdown I can not get a highcharter plot working. Below a minor script. Any one a clue what I'm doing wrong?
---
title: "Example highcharter"
author: "...
1
vote
1
answer
102
views
how to use the "timeout" argument in pagedown::chrome_print in yaml
Using the below YAML header with the rest of the file blank, doesn't render, due to issue with chrome_print arugment not used in a proper syntax way. How can I correctly use this argument?
---
title: &...
0
votes
1
answer
117
views
Pagedown package error in producing the output
I have recently decided to use pagedown package in producing pdf and html outputs and therefore installed the library. I am trying to run the very simple Rmd file that comes as default when I choose ...
0
votes
0
answers
49
views
pagedown:chrome_print outputs PDF file with wrong encoding
I'm using the following R code to generate a PDF output file with an input HTML file:
pagedown::chrome_print(input = paste0('input.html'),
output = paste0('output.pdf'),
...
0
votes
1
answer
268
views
Remove top margin above header R markdown/pagedown in html output
I'm using Pagedown to generate a one-page html document that I can easily print to PDF with formatting (starting from html_paged default pagedown format).
I want to adjust the margin of my documents ...
0
votes
1
answer
198
views
How to design PDF page in rmarkdown?
When converting rmarkdown into PDF, is it possible to determine the position (on the page) and the size of the chart very precisely according to my needs?
1
vote
0
answers
92
views
Output created by pagedown::html_paged not displaying properly
I am working on a project in RStudio that takes in multiple rmd files and a yml file and uses the bookdown render_book() function to produce paginated output that can be converted to pdf.
The bookdown ...
2
votes
0
answers
377
views
pagedown HTML resume - how to increase font size and reduce margins
I am using the pagedown template resume, which is accessible by starting a new R markdown file and choosing "From Template" and "HTML Resume".
I have pasted the YAML header below.
-...
1
vote
0
answers
138
views
add a logo on each page of Rmarkdown html report (pagedreport package)
I'm using the windmill template in the pagedreport package in R to generate a report (Link to Package). Here is a snippet of my YAML
---
title: "Here is my Title"
subtitle: "Here is my ...
1
vote
0
answers
90
views
Indentation of bullet points in R pagedown resume
I want to create a resume using the {pagedown} resume template. Overall, it's a great fit, but when I use bullet points, I would like to align the second line of text to the first one.
Here is the ...
0
votes
1
answer
482
views
pagedown html resume - How to move disclaimer section within aside section to the last page?
Taking the template resume from pagedown as an example, I would like the disclaimer section (currently on the bottom right of the first page, reading "This resume was made with the R package ...
0
votes
1
answer
190
views
How to integrate the elements from a flask preview into a comment
In my requirements.txt I have: Flask 2.0.3, Flask_Pagedown 0.4.0, Flask-wtf 1.0.1, Jinja2 3.0.3 WTForms 3.0.0, etc. The first code is a view for previewing texts where I find it from Github https://...
2
votes
0
answers
315
views
Changing the margins of a PDF document in RMarkdown
The default resume template from the pagedown package is visually not very appealing. There are quite white spaces along the borders, the sidebar is too thick, and the font is not appropriate. I guess ...
2
votes
1
answer
659
views
Change option settings with knit:pagedown::chrome_print in Rmarkdown YAML
I have created a large R Markdown document with many child docs using RStudio to produce output in both HTML and PDF.
I added this simple line to the YAML parameters of the document and it does ...
1
vote
0
answers
344
views
Pagedown: Separate figure numbering for appendix/supplemental section?
Is there a possibility to separate/change figure numbering for the appendix/supplemental section in an R Pagedown document?
Something analog to the question/answer in this discussion (but for pagedown!...
1
vote
1
answer
318
views
Adding custom page numbering in footer
I am trying to create a resume using the pagedown package. I got everything up and running, however, I don't seem to figure out how to add a custom page numbering like (page X of N)
How would you do ...
0
votes
1
answer
368
views
Why is pagedown::chrome_print() converting a solid color html element to a gradient?
I am using the datadrivencv R package to generate a resume. Rendering the default resume in html works fine, but when I use the provided code (see below) to print to pdf, the sidebar goes from a solid ...
1
vote
0
answers
269
views
Link chrome to Rstudio for pagedown (Rmarkdown)
I want to convert my html document, created on Rmarkdown to pdf.
One of the way is to use the pagedown package.
However, when I add:
knit: pagedown::chrome_print
in the yaml header, I get the error:
...
1
vote
0
answers
60
views
Adding my CV generated by pagedown to my Blog generated by Blockdown
I am new to world of webpage generation. Just created new blogging site using "Made with Hugo. Themed by Cupper. Deployed to Netlify. " .
When I use Addins New Post ( Gui ) it adds into ...
2
votes
1
answer
850
views
I'm failing to create a pagedown::chrome_print pdf output from a shiny app which takes parameter inputs and renders the Rmarkdown
I have a rmarkdown file which is built around the {pagedreport} package (an add-on to pagedown). This creates a html and them uses pagedown::chrome_print to convert the html to pdf.
The rmarkdown file ...
0
votes
1
answer
858
views
R Markdown: Printing reactable tables with pagedown::chrome_print causes some unreadable rows
I'm trying to create parametrized R markdown reports that contain some text and a table. I'm firstly creating html output (and use css for custom style) and then I print them with pagedown package. ...
1
vote
1
answer
295
views
Slides written in Rmd missing pages when converting from HTML to PDF
I'm trying to convert a set of slides written in Rmarkdown and outputted in HTML with xaringan::moon_reader into PDF, and I used pagedown::chrome_print() to convert to PDF.
The issue is, the converted ...
0
votes
1
answer
265
views
How to add table of contents in any place using pagedown package template?
I used the code from thesis template of pagedown package.
The default position of table of contents is after Acknowledgement and before List of table. I would like to add it after the Literature ...
0
votes
0
answers
602
views
How to add new yaml headers in Rmarkdown (pagedown)?
I've seen these header in the thesis template's yaml header that comes with pagedown package Can I add some other categories like: period, surname, deadline, any? Are these predefined with the thesis ...
1
vote
1
answer
188
views
Unwanted margins in xaringan PDF created using pagedown
I've been creating html slides using xaringan and I want to save them as PDF. I'm trying to use pagedown::chrome_print, however the output is generated with unwanted margins that aren't displyed in ...
1
vote
2
answers
1k
views
How to use pagedown and kable in R to print a table followed by a page break
Been scratching my head over this one for a few days.
I am using the pagedown package to write a report with variable length tables. I am most familiar with and content to work with kableExtra tables. ...
0
votes
1
answer
212
views
Not able to produce paged pdf document when trying to render html_paged rmarkdown document using parameters
I am trying to create a parametric html_paged document.
When I use render function to render the .Rmd file. It creates the paged html document but it doesn't create paged pdf document.
But when I use ...
4
votes
0
answers
1k
views
pagedown::chrome_print() extremely slow for some xaringan html slides
I'm creating pdf versions of html slides generated from R markdown files. I've come across a puzzling behaviour. When I run pagedown::chrome_print on the html with output specified as xaringan::...
3
votes
0
answers
163
views
How to exclude HTML DIV from a specific page in rmarkdown paged-HTML document?
I am using a paged HTML document template on Rmarkdown and I wanted to remove the header and footer ive created using custom CSS and HTML.
I've tried using :not() but have not been able to specify ...
3
votes
1
answer
258
views
Remove href and/or deactivate anchored links when printing a PDF from HTML using xml2 and pagedown with R
I'm using R to extract 100s of articles from a food blog and convert them to PDF. I'm 99% done, but when I print the final PDF, in-line hyperlinks have their URL written right within the text. I do ...
2
votes
1
answer
1k
views
How to check if reactive a dataframe exists in session and set value in a list as 'NA' if it does not
I am working on a feature which allows my markdown file to conditionally execute chunks based on a parameters sent from my shiny app. Some information about how this works here: https://shiny.rstudio....
2
votes
1
answer
401
views
Using R pagedown package to extract webpages as PDFs without pop-ups and cookie warnings
So a friend of mine has written over 800 articles in a food blog, and I am looking to extract all of these to PDFs so that I can bind them nicely and gift them to him. There are simply too many ...
0
votes
1
answer
540
views
Editing margin box sizes in R pagedown package
I want to reduce the margins on all sides of a pagedown document but I am having a hard time figuring out just how to accomplish this. I looked at the pagedJS documentation for the structure here: ...
2
votes
1
answer
292
views
R Pagedown resume/cv lowercase letters for title
I am working on creating a resume in R using Pagedown. Currently, the default is to have your name in all capital letters at the top of the first page (e.g. JANE DOE). However, this doesn't look great ...
0
votes
1
answer
2k
views
knit pagedown html_resume to pdf with chrome_print produces error
I would like to produce an HTML and PDF version of a resume with pagedown::html_resume and pagedown::chrome_print.
I tried running the following code from the example provided by pagedown:
---
title:...
0
votes
0
answers
303
views
Why printing in Google chrome of html cv made with pagedown in R leaves empty spaces in pages?
While making CV in Rmarkdown using pagedown:
RMarkdown > From Template > HTML Resume > OK > save
Lijia Yu's resume opens up. I knit it, and open the HTML file in browser, some written material goes ...
0
votes
0
answers
190
views
R pagedown/shinyapps error - Google Chrome cannot be found
I've been trying to use the pagedown package to create a pdf from a html which is better formatted and more presentable from a shinyapp. It tested fine locally on my machine. After deployment, the ...
5
votes
2
answers
1k
views
pagedown html resume with aside on first page only
I'm attempting to make a CV using R Markdown and the {pagedown} package.
Is it possible to only include the grey aside bar on the first page?
I've tried playing with the page identifiers as ...
8
votes
1
answer
2k
views
How to delete blank pages in Rmarkdown(pagedown)
This is my code:
---
title: "A Multi-page HTML Document"
author: "Yihui Xie and Romain Lesur"
date: "`r Sys.Date()`"
output:
pagedown::html_paged:
toc: true
toc_depth: 3
# change to ...
4
votes
1
answer
849
views
Using Rmarkdown (pagedown) and changing Table of Contents
Hello guys I've trying to solve this but I have no way to go:
This is my code:
---
title: "A Multi-page HTML Document"
author: "Yihui Xie and Romain Lesur"
date: "`r Sys.Date()`"
output:
pagedown::...
2
votes
1
answer
375
views
Django markdown show_preview feature throws an error
I am new using markdown. I tried to use the show_preview = False to implement preview using jQuery instead.
class PostForm(forms.ModelForm):
content = forms.CharField(widget=PagedownWidget(...
2
votes
1
answer
4k
views
Using pagedown to convert from HTML to pdf in R
Its my first time using pagedown.
Could you help me?
This is my .Rmd code:
---
title: "Table"
output:
html_document:
css: "test.css"
---
```{r}
library(knitr)
data(iris)
kable(iris)
```
...
3
votes
1
answer
248
views
Can I use YAML data from a child .Rmd as first level heading for a pagedown document?
I would like to use child rmarkdown documents as "chapters" in my pagedown document and have the YAML options from that child document, such as title:, be used as a first level section heading. ...