summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-hints/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-hints/index.js')
-rw-r--r--packages/gitbook-plugin-hints/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/gitbook-plugin-hints/index.js b/packages/gitbook-plugin-hints/index.js
new file mode 100644
index 0000000..55efd25
--- /dev/null
+++ b/packages/gitbook-plugin-hints/index.js
@@ -0,0 +1,11 @@
+
+module.exports = {
+ blocks: {
+ hint: ({ kwargs }) => {
+ return {
+ style: kwargs.style || 'info',
+ icon: kwargs.icon
+ };
+ }
+ }
+};