fix: code blocks rendering + consistent styling with ciphera-website /learn
- Convert MDX CodeBlock components to standard markdown code fences - Add rehype-mdx-code-props to pass filename meta to code components - Custom pre/code MDX components map fences to CodeBlock - Add brand color badges (product + category) matching /learn layout - Match prose styling: orange inline code, orange links, white strong - Remove brand color background glow (not in /learn)
This commit is contained in:
@@ -16,11 +16,13 @@ Paste the Pulse script into your Webflow project's custom code settings.
|
||||
|
||||
Go to **Project Settings -> Custom Code -> Head Code** and paste the Pulse script.
|
||||
|
||||
<CodeBlock filename="Project Settings -> Head Code">{`<script
|
||||
```html filename="Project Settings -> Head Code"
|
||||
<script
|
||||
defer
|
||||
data-domain="your-site.com"
|
||||
src="https://pulse.ciphera.net/script.js"
|
||||
></script>`}</CodeBlock>
|
||||
></script>
|
||||
```
|
||||
|
||||
**Note:** Custom code requires a paid Webflow site plan. The script won't appear in the Designer preview — publish your site to see it in action.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user