Skip to content

Commit

Permalink
typeset aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz committed Oct 10, 2024
1 parent b500038 commit 11f625c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/viewer/src/components/Traits/Table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { Link } from '../Shared'
import Value from './Value.svelte'
import Typeset from '../Shared/Typeset.svelte'
export let properties: Property[]
export let spaces: Space[]
Expand Down Expand Up @@ -33,7 +34,12 @@
<div><Link.Space {space} /></div>
{#if space.aliases.length > 0}
<div>
<small class="text-muted">{space.aliases.join(', ')}</small>
<small class="text-muted">
{#each space.aliases as alias, i}
{#if i > 0}, {/if}
<Typeset body={alias} />
{/each}
</small>
</div>
{/if}
</td>
Expand Down

0 comments on commit 11f625c

Please sign in to comment.