Hi, I am trying to create dashboards and when run from emacs, the output ignores the columns and everything in the title section. for example this will produce the .Rmd
``` rmarkdown::draft("dashboard.Rmd", template = "flex_dashboard_bslib", package = "flexdashboard") ``` then M-n e, markdown, html and the output differs from what I get under Rstudio. The difference is in the pandoc options. from emacs it is: /usr/bin/pandoc +RTS -K512m -RTS dashboard.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output dashboard-exported.html --lua-filter /home/stephen/R/x86_64-pc-linux- gnu-library/4.0/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/stephen/R/x86_64-pc-linux-gnu- library/4.0/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained -- variable bs3=TRUE --section-divs --template /home/stephen/R/x86_64-pc- linux-gnu-library/4.0/rmarkdown/rmd/h/default.html --no-highlight -- variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax- url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpMoSyna/rmarkdown-str5f6a2502c30.html from rstudio: /usr/lib/rstudio/bin/quarto/bin/tools/pandoc +RTS -K512m -RTS dashboard.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output dashboard.html --lua-filter /home/stephen/R/x86_64-pc-linux-gnu- library/4.0/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/stephen/R/x86_64-pc-linux-gnu- library/4.0/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources -- standalone --variable bs3=FALSE --standalone --section-divs --template /home/stephen/R/x86_64-pc-linux-gnu- library/4.0/flexdashboard/www/flex_dashboard/default.html --variable theme=bootstrap --mathjax --variable 'mathjax- url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/Rtmp2v1O2j/rmarkdown-str5dd26b148526.html -- highlight-style pygments --include-in-header /tmp/Rtmp2v1O2j/file5dd26ba75415html --include-before-body /tmp/Rtmp2v1O2j/file5dd215c6a798.html --include-after-body /tmp/Rtmp2v1O2j/file5dd272467781.html running ediff reveals that I need --embed-resources, bs3=FALSE, a different template etc. is there a way to make .emacs handle this neatly and apply different options when the title section declares flexdashboard? Thanks everybody Stephen ______________________________________________ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help