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 wanted to add a couple of template formats to my build without effecting the defaults. Looks like there's a function that does just that, but it isn't in the docs anywhere!
I couldn't find a precedent on this page for how an additional function would be added here, but if someone wants to provide guidance I'd be happy to write it up in a PR. Otherwise, go for it 💖
The text was updated successfully, but these errors were encountered:
Hi @naomiyaki, seems like you're correct and this is not yet documented.
Looking at the code (since I haven't used that function myself), it looks like it works like setTemplateFormats, but instead of replacing the existing template formats, it just adds them to the list.
I wanted to add a couple of template formats to my build without effecting the defaults. Looks like there's a function that does just that, but it isn't in the docs anywhere!
11ty-website/src/docs/config.md
Line 263 in a5585af
I couldn't find a precedent on this page for how an additional function would be added here, but if someone wants to provide guidance I'd be happy to write it up in a PR. Otherwise, go for it 💖
The text was updated successfully, but these errors were encountered: