-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Why don't we use JSDoc to add generated code documentation to the prismjs.com website? I'm thinking about something like prismjs.com/docs/.
The generated documentation will include all documented variables/functions of components/prism-core.js. Functions that aren't documented won't show up in the doc.
I already tested this a little and it works quite well.
This is intended to replace the API section of extending Prism to keep Core and its documentation more in sync to avoid issues like #1774.
(We can also use this include API docs for plugins and components like markup templating in the future.)
Thoughts?
@mAAdhaTTah @Golmote @LeaVerou
Reactions are currently unavailable