Show HN: Docusaurus plugins to easily add 3rd-party scripts(github.com)
github.com
Show HN: Docusaurus plugins to easily add 3rd-party scripts
https://github.com/gracefullight/docusaurus-plugins
0 コメント
—
https://github.com/gracefullight/docusaurus-plugins
—
The problem is that every service has its own unique set of attributes and initialization patterns. Manually looking up and configuring these for each script was time-consuming. A single typo could break the integration, leading to even more time spent debugging.
So, I created this collection of plugins to solve that. Instead of fiddling with script tags, you can now install a dedicated plugin for the service you need (e.g., @gracefullight/docusaurus-plugin-google-analytics) and add a clean, simple configuration object to your docusaurus.config.js.
The project is fully open-source and actively maintained, so please feel free to use it.