mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
Merge branch 'master' into rewrite-tyepscript-definitions
This commit is contained in:
commit
56718c633d
6 changed files with 81 additions and 5 deletions
|
@ -138,7 +138,7 @@
|
|||
<StructuredListCell>
|
||||
{#if prop.description}
|
||||
{#each prop.description.split('\n') as line}
|
||||
<div class="description">{line}.</div>
|
||||
<div class="description">{@html line.replace(/`(.*?)`/g, '<code>$1</code>')}.</div>
|
||||
{/each}
|
||||
{:else}
|
||||
<div class="description">No description available.</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue