grnet / docusaurus-terminology

Home of Docusaurus Terminology Plugin
BSD 2-Clause "Simplified" License
35 stars 5 forks source link

Some improvements #15

Open siilike opened 1 year ago

siilike commented 1 year ago
  1. There seems to be an issue with text in square brackets e.g. lorem [ipsum] dolor causing a compilation error
  2. There seems to be an issue with nested , e.g. `lorem ipsum dolor**` causing a compilation error
  3. termPreviewComponentPath and glossaryComponentPath can be specified using @site that always points to the project root
  4. <Link /> should be used instead of <a>, because the latter causes the page to be reloaded:
     import Link from '@docusaurus/Link'
    <RcTooltip>
        <span className="term-link">
            <Link to={pathName}>
                {children}
            </Link>
        </span>
    </RcTooltip>