Skip to content

Commit b23d807

Browse files
committed
initial plugins docs content
1 parent 2934970 commit b23d807

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/user-guide/plugins.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
# Plugins
22

3-
** TODO: Finish this **
3+
PyScript, like many other software plaforms, offers a Plugin API that can be used to extend its
4+
own functionality without the need to modify its own core. By using this API, users can add new
5+
features and distribute them as plugins.
6+
7+
At the moment, PyScript supports plugins written in Javascript. These plugins can use PyScript
8+
Plugins API to define entry points and hooks so that the plugin can be collected and hook into
9+
the PyScript lifecycle events, with the ablity to modify and integrate the features of PyScript
10+
core itself.
11+
12+
Here's an example of how a PyScript plugin looks like:
13+
14+
```js
15+
16+
```

0 commit comments

Comments
 (0)