Add footnote hover?

Đang mở
#85 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
markdown
Lĩnh vực
documentation

Hướng nghiên cứu

The footnote references are in the guide's Markdown pages, and the payload names no specific file. Start by finding the footnote references in the citation section at the top of the page and in the Zenodo JSON section, then remove the repeated references elsewhere. Pick one approach (dropping repeats or switching to tooltips) with the maintainers before editing. Done when each footnote is referenced only at the agreed spots and the bottom footnote section still renders.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Perfect, with two small tweaks!

One other thing I noticed while running it locally, though, is that it has a lot of these back arrows (😅 footnote challenge), which we could adjust through some special handling (remove the bolding altogether, though they'd still be there, use a custom script to only include the one from which the user clicked, or switch to footnote tooltips which show as a little hover pop-up). Such a change would be outside the scope of this PR; we do have a few other pages with footnotes referenced twice on a page.

Probably better is to just not include the footnote each time it's mentioned; limiting to the first mention in the citation section (at the top, the suggestion) and when it's mentioned in the Zenodo JSON section is probably sufficient.

Image

I tested the tooltip option and it doesn't change the footnote at the bottom of the page (might be nice to add them in--will open an issue).

Originally posted by @egrace479 in https://github.com/Imageomics/Collaborative-distributed-science-guide/pull/84#pullrequestreview-5342252207

Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
6 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Imageomics/Collaborative-distributed-science-guide

Tất cả issue của Imageomics/Collaborative-distributed-science-guide

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.