You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if we should really "force" this option on the user. It isn't redundant as I explained in #66 but it also isn't absolutely necessary and I believe it should remain the choice of the user whether to have this in _quarto.yml
So, recently in a book where I used babelquarto, I used quarto::quarto_render() to ensure a fix I had done worked for the main language before I added it to other languages. Now my book's main language was English, but I still feel it could be useful and does not hurt?
I agree that it's useful. It can however hurt if you start from an existing project and already have a lang: en (or other language) in your config and then add the main language using register_main_language().
I'd therefore suggest checking if lang already exists and if there is no lang key, then we add it.
I've made a PR that would do that.
Following @joelnitta in #66:
babelquarto/R/register.R
Line 29 in c0804a4
I wonder if we should really "force" this option on the user. It isn't redundant as I explained in #66 but it also isn't absolutely necessary and I believe it should remain the choice of the user whether to have this in _quarto.yml
@maelle what do you think?
The text was updated successfully, but these errors were encountered: