File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,19 @@ definition = definition.charAt(0).toUpperCase() + definition.slice(1);
2525definition = definition .split (/ \r ? \n / )[0 ];
2626---
2727
28+ <!-- prettier-ignore -->
2829<span
2930 id ={ tooltip .term }
3031 data-tooltip
3132 data-content ={ marked .parse (definition )}
3233 class =" border-b-2 border-dashed border-accent-600"
3334 >{
3435 link ? (
35- <a href = { link } >
36- <slot />
37- </a >
36+ <a href = { link } ><slot /></a >
3837 ) : (
3938 <slot />
4039 )
41- } </span
42- ><script >
40+ } </span ><script >
4341 import tippy from "tippy.js";
4442
4543 const tooltips = document.querySelectorAll<HTMLSpanElement>("[data-tooltip]");
@@ -50,7 +48,7 @@ definition = definition.split(/\r?\n/)[0];
5048 allowHTML: true,
5149 interactive: true,
5250 placement: "auto",
53- arrow: false
51+ arrow: false,
5452 });
5553 }
5654</script ><style is:global >
You can’t perform that action at this time.
0 commit comments