Commit 759f0d1
fix: load mermaid library and fix mermaidOptions provider config
Add mermaid.min.js to angular.json scripts so ngx-markdown can use the
mermaid attribute, and add the required `provide: MERMAID_OPTIONS` key
to satisfy the TypedValueProvider type constraint.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c702b0f commit 759f0d1
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments