rstudio / learnr

Interactive Tutorials with R Markdown
https://pkgs.rstudio.com/learnr
Apache License 2.0
705 stars 236 forks source link

Set tab size in Ace editor to 2 #761

Closed rossellhayes closed 1 year ago

rossellhayes commented 1 year ago

The Ace editor used in learnr tutorials defaults to using 4 spaces for tabs, but Tidyverse style recommends two spaces.

@gadenbuie I think I made the needed change in tutorial.js, but I'm not sure how build.js works, could you help me out with that part?