Closed LevYas closed 1 year ago
MdXaml.Html 1.19.0 has been released. It enabled details tag.
Wow, excellent, thank you!
One nitpick though, is it possible to make the whole spoiler summary clickable? Right now only the round with the arrow is clickable.
I noticed, that this could be fixed by adding to the file DetailsParser.cs a line 83 with the content
viewer.IsHitTestVisible = false;
but I'm not aware of the project's specifics so I decided to consult with you. This can break links in the summary, but I think it's expected for the summaries. Github just disables links in summary:
<details>
<summary>Spoiler warning [Go to Google!](https://www.google.com)</summary>
Spoiler text.
</details>
Thank you for trying the feature. I tried your proposal, and realized that a link element on the summary is clickable. So I will change most part of spoiler summary is clickable, but not some of it (e.g., link takes precedence over summary)
<details>
<summary>Spoiler warning <a href="https://www.google.com">link</a>
</summary>
Spoiler text. Spoiler warning
</details>
MdXaml 1.19.1 has been released. It enables spoiler header clicking to open and close details.
Awesome, thank you for the improvement! One more nitpick 😄: Is it possible to make the cursor a regular arrow? The header is not selectable anyway and the "Text Selector" cursor is a little bit misleading. Overall, it's already ready to use, thanks a ton :)
Is it possible to make the cursor a regular arrow?
I released MdXaml 1.19.2 to fix it.
Awesome, works great, thank you!
Hello again!
Is it possible to make spoilers? I tried this syntax, but it didn't work:
It works here:
Spoiler warning
Spoiler text.I tried with and without the MdXaml.Html plugin, and the result is the same.