Christophe Dervieux
Christophe Dervieux
Thanks for your input @atusy ! For the context, this came up in the context of output formats that would set `echo: false` as a default. (`revealjs` format does this...
Hi, As you described, I don't think this is a R Markdown issue directly. Can you give me more details ? > So I've a site with lots of webpages....
Thanks for your feedback. I would like to try clarify the current situation, and know more about the exact issue you are encountering. This will help better understand the solution...
Vignettes are special use case of R Markdown rendering. Especially they are rendered in a package context, with specific rules regarding external resources. Let me give a generic feedback in...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
Putting the command inside the display math will correctly adapt the preview.  Is there a reason you need to put it outside ? It needs to be inside a...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
> Just a small heads-up that this breaks for tex / pdf (I assume that \newcommand is scoped to the math environment). Oh I see I think - to be...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
BTW the cleaner solution so support both LaTeX and HTML could be this one. But it breaks the preview in IDE. ````markdown --- title: test output: html_document: default pdf_document: keep_tex:...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
> I am thinking we can maybe improve this with a special syntax using Pandoc's fenced div. This would probably work for all 3 cases Here is a prototype for...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
For this specific use case, we could have a much simpler feature we could support, again based on what we do in Quarto (https://quarto.org/docs/authoring/markdown-basics.html#equations) Prototype is this, with a really...
Add `.hidden` block feature like in Quarto to support `\newcommand` for Mathjax without breaking PDF
> compilation requires two passes when the hidden block changes. (I suppose it comes from the intermediate step of writing the Lua-file and then executing the Lua-file or something) I...