summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/gitbook-plugin-hints/package.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/gitbook-plugin-hints/package.json b/packages/gitbook-plugin-hints/package.json
index 6f2e0d0..6b33fe5 100644
--- a/packages/gitbook-plugin-hints/package.json
+++ b/packages/gitbook-plugin-hints/package.json
@@ -24,5 +24,24 @@
},
"bugs": {
"url": "https://github.com/GitBookIO/gitbook/issues"
+ },
+ "gitbook": {
+ "blocks": {
+ "hint": {
+ "title": "Hint",
+ "description": "Display an alert message.",
+ "properties": {
+ "style": {
+ "title": "Style",
+ "type": "string",
+ "enum": ["info", "danger", "tip", "working"],
+ "default": "info"
+ },
+ "children": {
+ "type": "node"
+ }
+ }
+ }
+ }
}
}