visual markdown editing mode

RStudio v1.4 includes a new visual markdown editing mode. However, I have some trouble with this new feature.

  • The max-width is fixed in visual markdown editing, could we set it auto fitting?
  • User-defined CSS file works well when I click the "knit" button; however it seems that it doesn't work in visual markdown editing.

Is there any way to do customized setting for the default CSS used by the visual markdown editing?

You can set the max editor content width here: https://rstudio.github.io/visual-markdown-editing/#/options. If you set it to a very large number it's effectively auto-fitting.

We don't currently apply an CSS to the editor (we can't do this carte-blanche as some CSS would actually interfere w/ editing). In the future we'll provide some hooks for formats to provide editor CSS.

1 Like

Thank you, JJ. That's very helpful. Hope we can customize format (at least font-family)in the next Rstudio release.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.