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,7 +16,8 @@ Add the script to your `src/index.html` — the single entry point for all Angul
|
||||
|
||||
Place the Pulse script inside the `<head>` tag of your Angular app's `src/index.html`.
|
||||
|
||||
<CodeBlock filename="src/index.html">{`<!doctype html>
|
||||
```html filename="src/index.html"
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -34,6 +35,7 @@ Place the Pulse script inside the `<head>` tag of your Angular app's `src/index.
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
</html>`}</CodeBlock>
|
||||
</html>
|
||||
```
|
||||
|
||||
For more details, see the [Angular docs](https://angular.dev/guide/components).
|
||||
|
||||
Reference in New Issue
Block a user