fix: code blocks rendering + consistent styling with ciphera-website #74

Merged
uz1mani merged 3 commits from staging into main 2026-03-29 00:12:24 +00:00

3 Commits

Author SHA1 Message Date
Usman Baig
6c73fd1dbc fix: type error on pre component children.props access 2026-03-29 01:09:30 +01:00
Usman Baig
b1ed7518b1 fix: code block filename not showing, consistent code block styling 2026-03-29 01:07:21 +01:00
Usman Baig
627613dc13 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)
2026-03-29 01:01:56 +01:00