pi-base / web

Code powering the π-Base
https://topology.pi-base.org
MIT License
5 stars 5 forks source link

External markdown enhancements #184

Closed StevenClontz closed 1 hour ago

StevenClontz commented 3 weeks ago
StevenClontz commented 3 weeks ago

For the first, a hint: use this in packages/viewer/src/components/Shared/Source.svelte to add optional internal and external attributes to the Source component

  export let internal = false
  export let external = false
StevenClontz commented 1 week ago

More hints:

import context from '@/context'
const { spaces } = context()
const name = $spaces.find(`S${id}`)?.name
StevenClontz commented 1 week ago

And {S000123|P000123} should link to /spaces/S000123/properties/P000123

StevenClontz commented 1 hour ago

Closed by #193