Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Web version displays italicized words as monospace, without italics

Offen
#2,002 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
css
Bereich
documentation

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
CSS
Sterne
6.6k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus progit/progit2

Alle Issues in progit/progit2

Ähnliche Issues

Weitere Issues zu Documentation

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.