We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01af1c9 commit 999fd5cCopy full SHA for 999fd5c
packages/docs/build/api.js
@@ -65,10 +65,9 @@ import ${name} from '@coreui${relativeFilename.replace('.tsx', '')}'
65
66
const replace = (text) =>
67
text
68
- .replaceAll('\n', '<br/>')
69
.replaceAll('(<', '(\\<')
70
- .replaceAll('{', '\\{')
71
- .replaceAll('}', '\\}')
+ .replace(/<C(.*)\/>/g, '`<C$1/>`')
+ .replaceAll('\n', '<br/>')
72
73
content += `| **${name}**${since}${deprecated} | ${replace(description)} | ${types.join(
74
' \\| ',
0 commit comments