I know that Emacs has the polymode package that allows coding in RMarkdown. However, it seems that Spacemacs is still missing the equivalent of a polymode layer.
I have been trying to install it directly into Spacemacs, with no success. Therefore my question: is there a way to edit RMarkdown files in Spacemacs (not plain Emacs).
you can add packages to spacemacs by adding them to
dotspacemacs-additional-packages
in your.spacemacs
:after a restart the packages should get installed automatically, you probably want to set some other options in
dotspacemacs/user-config ()
e.g. something like:Edit:
polymode
got a rework.