You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying with latest mkdoks-material (9.5.23) and following the reference for adding annotation. I know annotation doesn't work inside katex, so I tried adding it outside, and since tables also can't add the annotation with { .annotate } I tried wrapping the table inside inside a <div class="annotate">.
Currently it appears at the top left of the page and sticks there, instead of sticking to the annotation button.
Bug description
I tried something like this:
<divclass="annotate"markdown>
| $P$ | $Q$ | $P \implies Q$ || ----------------------------------- | ----------------------------------- | -------------------------------------- || $\textcolor{#f56c42}{\text{false}}$ | $\textcolor{#f56c42}{\text{false}}$ | $\textcolor{#07fc03}{\text{true}}$ (1) || $\textcolor{#f56c42}{\text{false}}$ | $\textcolor{#07fc03}{\text{true}}$ | $\textcolor{#07fc03}{\text{true}}$ (2) || $\textcolor{#07fc03}{\text{true}}$ | $\textcolor{#f56c42}{\text{false}}$ | $\textcolor{#f56c42}{\text{false}}$ || $\textcolor{#07fc03}{\text{true}}$ | $\textcolor{#07fc03}{\text{true}}$ | $\textcolor{#07fc03}{\text{true}}$ |
</div>
1. The formula doesn't state when $P$ is _not true_, it's assumed maybe the robot has antenna, maybe it doesn't.
2. The formula doesn't state when $P$ is _not true_, it's assumed maybe the robot has antenna, maybe it doesn't.
This does produce the annotation button, but upon clicking it doesn't show the annotation text.
In addition, footnote tooltips are a superior approach to annotations, as they are native Markdown and don't rely on client-side parsing, which is why we recommend them over annotations. However, you'll need to sponsor to use this feature.
Context
I'm trying with latest mkdoks-material (9.5.23) and following the reference for adding annotation. I know annotation doesn't work inside katex, so I tried adding it outside, and since tables also can't add the annotation with
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/56764399/331934670-74b0a8b6-3627-41f3-bc5d-c96d7ffbb6be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzNzk3ODMsIm5iZiI6MTcyMTM3OTQ4MywicGF0aCI6Ii81Njc2NDM5OS8zMzE5MzQ2NzAtNzRiMGE4YjYtMzYyNy00MWYzLWJjNWQtYzk2ZDdmZmJiNmJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDA4NTgwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3YmE0MTIyODVjOGRhNDU2MGViMWI0Yzg2Y2ZmM2M2N2EyZDJlZmY3NDQxYzRmZDM3NjEwNTU3OTg5ZTQyMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CgmTdk-H-qPqV2NBRIaXUr4vNRQilwCH5FrS2yC-GXg)
{ .annotate }
I tried wrapping the table inside inside a<div class="annotate">
.Bug description
I tried something like this:
This does produce the annotation button, but upon clicking it doesn't show the annotation text.
Related links
Reproduction
9.5.23-annotation-inside-table-does-not-appear.zip
Steps to reproduce
mkdocs.yaml
as :Browser
Edge
Before submitting
The text was updated successfully, but these errors were encountered: