[Website] Parse markdown headings with id for use with anchors
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- markdown
- Lĩnh vực
- frontend
Hướng nghiên cứu
The request concerns Markdown project descriptions on Modrinth.com, but names no implementation files or tests. Start by locating where project descriptions are parsed and rendered, then check how heading anchors and user supplied HTML IDs are handled. Done means Markdown headings produce usable anchors, links to them scroll to the heading, and existing IDs remain safe.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please confirm the following.
- I checked the existing issues for duplicate feature requests
What parts of Modrinth is your feature request related too?
Modrinth.com website
Is your suggested feature related to a problem? Please describe.
I would like to use anchors in my markdown project description.
## Features
[Go to features](#features)
This is how it works on GitHub
Describe the solution you'd like
No response
Describe alternatives you've considered
Today this is already possible by doing something like
<h2 id="features">Features</h2>
[Go to features](#features)
Additional context
GitHub's system works by turning
# Heading
into
<element id="user-content-heading"></element>
and scrolling there with javascript from a https://url#heading in the url
If I see correctly you could also try to break the modrinth site by taking over existing id's like __NUXT_DATA__
But maybe that is a non-issue because we expect users to take care when they use html id.
- Ngôn ngữ chính
- Rust
- Star
- 2.5k
- Fork
- 663
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 122
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modrinth/code
-
app
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modrinth/code#8256 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modrinth/code#8253 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Translation errorĐang mởwebsite
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Button reorder requestCó thể làm lại được @Ceebug đã nhận 17 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 70/100
modrinth/code#8136 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modrinth/code
Issue tương tự
-
bug bug jury peripheral:i2s
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
esp-rs/esp-hal#6828 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ライブラリを追加Đang mởpriority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UCS-Care-Group/mailcraft#1429 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium ready
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
TusanHomichi/PSIV#646 ·
Maintainer thường phản hồi trong vòng 1 ngày