Merge branch 'master' into rewrite-tyepscript-definitions

This commit is contained in:
Eric Liu 2020-11-19 06:16:50 -08:00 committed by GitHub
commit 56718c633d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 81 additions and 5 deletions

View file

@ -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>