hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

Inject annotations

Open japinli opened this issue 1 year ago • 3 comments

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 avatar May 17 '24 01:05 japinli

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

welcome[bot] avatar May 17 '24 01:05 welcome[bot]

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.

stevenjoezhang avatar May 21 '24 03:05 stevenjoezhang

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

japinli avatar May 21 '24 09:05 japinli

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.

sghng avatar Aug 15 '24 14:08 sghng

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

github-actions[bot] avatar Aug 16 '25 00:08 github-actions[bot]