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,12 +16,14 @@ Add the Pulse script via the Shopify theme editor — no app needed.
|
||||
|
||||
Go to **Online Store -> Themes -> Edit code** and open `layout/theme.liquid`. Add the Pulse script before the closing `</head>` tag.
|
||||
|
||||
<CodeBlock filename="layout/theme.liquid">{`<!-- Add before </head> -->
|
||||
```liquid filename="layout/theme.liquid"
|
||||
<!-- Add before </head> -->
|
||||
<script
|
||||
defer
|
||||
data-domain="your-site.com"
|
||||
src="https://pulse.ciphera.net/script.js"
|
||||
></script>`}</CodeBlock>
|
||||
></script>
|
||||
```
|
||||
|
||||
## Method 2: Shopify Plus — Customer Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user