** Polymode
#+BEGIN_SRC emacs-lisp
- (use-package polymode
- :config
- (use-package poly-R)
- (use-package poly-noweb)
- (use-package poly-markdown)
- :mode ("\\.Snw" . poly-noweb+r-mode)
- :mode ("\\.Rnw" . poly-noweb+r-mode)
- :mode ("\\.Rmd" . poly-markdown+r-mode)
- )
+(use-package poly-R
+ :ensure t
+ :after polymode
+ )
+(use-package poly-noweb
+ :ensure t
+ :after polymode
+
+ )
+(use-package poly-markdown
+ :ensure t
+ :after polymode
+ )
+(use-package polymode
+ :ensure t
+ :mode ("\\.Snw" . poly-noweb+r-mode)
+ :mode ("\\.Rnw" . poly-noweb+r-mode)
+ :mode ("\\.Rmd" . poly-markdown+r-mode)
+ )
+
#+END_SRC
** Outlining