Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Web version displays italicized words as monospace, without italics

Đang mở
#2,002 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
55/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
css
Lĩnh vực
documentation

Hướng nghiên cứu

Locate the #documentation #main p em CSS rule shown in the issue and inspect how it affects em elements in the HTML documentation. Adjust the styling so italicized terms render as italics rather than monospace, then compare the HTML examples with the PDF presentation.

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

Mô tả

Several jargon terms are marked with italics in the PDF version. For example, staged in section The Three States, or remote in section The Refspec.

In the HTML version though, these terms are <em> elements which are formatted as monospace rather than italics. This is due to the following CSS rule, which overrides UA stylesheets:

#documentation #main p em {
  font-family: Courier,monospace !important;
  font-variant-ligatures: none;
  font-style: normal;
  font-weight: 700;
  color: #4e443c;
}

In several cases (jargon terms), it might be sensible to use monospace, but "disabling" italics seems misguided, making the format both less common and harder to distinguish from code fragments. For sure, the format would better be consistent regardless of the version.

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 progit/progit2

Tất cả issue của progit/progit2

Issue tương tự

Thêm issue về Documentation

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.