You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/kanvas/designer/embedding-designs/index.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ To prepare your Hugo site to support design embedding, perform the one-time task
114
114
.meshery-embed-container {
115
115
border: 1pxsolid#eee;
116
116
border-radius: 4px;
117
-
margin: 1remauto;
117
+
margin: 0remauto;
118
118
box-shadow: 01px3pxrgba(0,0,0,0.1);
119
119
}
120
120
.meshery-embed-container.full {
@@ -146,14 +146,14 @@ To prepare your Hugo site to support design embedding, perform the one-time task
146
146
147
147
### Shortcode Explanation
148
148
149
-
-**`src`** (Required): The path to the exported JavaScript file for your design.
150
-
-**`id`** (Required): A unique ID for the embedded design container.
151
-
-**`size`** (Optional): A preset for simple sizing.
152
-
- Accepts `"full"` (default) or `"half"`.
153
-
- This parameter is ignored if `style` is used.
154
-
-**`style`** (Optional): For advanced customization.
155
-
- Allows you to provide any custom CSS inline styles.
156
-
-**This parameter has higher priority and will override the `size` parameter.**
149
+
-**`src`** (Required): The path to the exported JavaScript file for your design.
150
+
-**`id`** (Required): A unique ID for the embedded design container.
151
+
-**`size`** (Optional): A preset for simple sizing.
152
+
- Accepts `"full"` (default) or `"half"`.
153
+
- This parameter is ignored if `style` is used.
154
+
-**`style`** (Optional): For advanced customization.
155
+
- Allows you to provide any custom CSS inline styles.
156
+
-**This parameter has higher priority and will override the `size` parameter.**
157
157
158
158
Now that your site has shortcode support for embedding Kanvas designs, you can use the `meshery-design-embed` shortcode in any Hugo markdown file where you want to display embedded designs to your site visitors.
0 commit comments