diff --git a/README.md b/README.md index 47430b3..209f120 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,13 @@ Import the component stylesheet once in your application entry point: import "@aeven-ai/hypermarkdown/styles.css"; ``` +If you render the code or diagram toolbars, tippy.js — an optional peer — also +needs its stylesheet, the same way KaTeX does: + +```tsx +import "tippy.js/dist/tippy.css"; +``` + Then import the component: ```tsx diff --git a/example/index.html b/example/index.html index 933e64b..28e78e7 100644 --- a/example/index.html +++ b/example/index.html @@ -80,6 +80,15 @@ href="./katex.css" /> + + +