Emphasis clarification

Đang mở
#849 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ó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
50/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả 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 rules live in the emphasis section of the spec source; start with the rules numbered 1, 5 and 13 quoted here plus the left-flanking delimiter run definition they cite, and check how **foo** is described. The edit is editorial: state explicitly that the same delimiter character cannot open both emphasis and strong emphasis, or note that rule 13 already excludes that reading. Done means the wording around **foo** is unambiguous and the neighbouring rules still agree.

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

Mô tả

The specification of emphasis says (among other things):

  1. A single * character can open emphasis iff (if and only if) it is part of a left-flanking delimiter run.

and

\5. A double ** can open strong emphasis iff it is part of a left-flanking delimiter run.

The text doesn't say that the same character cannot both open emphasis and strong emphasis, so **foo** can be read as being both emphasized (twice) and strongly emphasized.

Unless this item is intended to avoid that reading:

\13. The number of nestings should be minimized. Thus, for example, an interpretation <strong>...</strong> is always preferred to <em><em>...</em></em>.

If that's the intention, then it may still be worth saying that explicitly.

Ngôn ngữ chính
Python
Star
5.2k
Fork
361
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  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 commonmark/commonmark-spec

Tất cả issue của commonmark/commonmark-spec

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.