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 2d33727 commit 7609a87Copy full SHA for 7609a87
tools/sync-readmes.js
@@ -21,14 +21,14 @@ const sanitize = (gb) => {
21
.replace('{% endcode-tabs %}', '')
22
.replace(/{% code-tabs-item title=".+?" %}/g, '')
23
.replace('{% endcode-tabs-item %}', '')
24
- .replace('{% endhint %}', '</b>')
+ .replace('{% endhint %}', '\n--------')
25
.replace(/{% hint style="(.+?)" %}\n/g, (_, style) => {
26
const styleMap = {
27
warning: '⚠️',
28
info: 'ℹ️',
29
danger: '🚨',
30
};
31
- return `${styleMap[style] || 'ℹ️'} <b>`;
+ return `\n--------\n\n${styleMap[style] || 'ℹ️'} `;
32
});
33
34
0 commit comments