Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject annotations #802

Closed
3 tasks done
japinli opened this issue May 17, 2024 · 4 comments
Closed
3 tasks done

Inject annotations #802

japinli opened this issue May 17, 2024 · 4 comments
Labels
Feature Request New feature or request

Comments

@japinli
Copy link

japinli commented May 17, 2024

Issue Checklist

Expected behavior

Add little markers in a document and expand a tooltip containing arbitrary Markdown on click or keyboard focus.

Actual behavior

This feature is implemented by Material for MkDocs, please see here.
image

Steps to reproduce the behavior

https://squidfunk.github.io/mkdocs-material/

Other Information

No response

@japinli japinli added the Feature Request New feature or request label May 17, 2024
Copy link

welcome bot commented May 17, 2024

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@stevenjoezhang
Copy link
Member

If there is a need to extend markdown syntax to implement this feature, it has to deep integrate with Hexo. Hexo's markdown rendering plugins include several options like marked, pandoc, and markdown-it. Support for the relevant syntax in the markdown renderer is necessary before the theme can further support the styling.

@japinli
Copy link
Author

japinli commented May 21, 2024

Thanks for your response! Should I submit a feature request on Hexo first?

@sghuang19
Copy link
Member

Hi @japinli, yes, please submit a feature request on Hexo. This is likely to be implemented through some tag plugin.

This is a good idea but NexT can't do much about it so far, closing it as not planned for now.

@sghuang19 sghuang19 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants