[Bug] Missing horizontal divider under headings

Aperta Adatta ai principianti
#6,155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
67/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, markdown, typescript
Ambito
frontend, web-dev

Direzione di ricerca

Confronta il rendering delle intestazioni H2 in MarkText con gli screenshot e l’aspetto previsto su GitHub. Trova il punto di ingresso per il rendering o lo stile dell’intestazione e i relativi test; l’issue non indica file o test. Il lavoro è completato quando un’intestazione H2 mostra il separatore orizzontale previsto in MarkText.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

I noticed a difference in how Markdown headings are rendered in MarkText compared to GitHub and other Markdown viewers.

In GitHub and some other Markdown renderers, headings (like H2 headings) are displayed with a horizontal divider underneath them. However, in MarkText, this divider appears to be missing.

I'm not sure whether this is intentional behavior or a rendering issue, but I wanted to bring it up in case the divider is expected to be displayed.

Steps to Reproduce

Create a Markdown document containing an H2 heading.

Open the same document in GitHub or another Markdown viewer.

Compare the heading rendering with MarkText.

Expected Behavior

The H2 heading should have a horizontal divider underneath it, similar to the rendering in GitHub.

Actual Behavior

The horizontal divider underneath the H2 heading is not displayed in MarkText.

Screenshots / Logs
GitHub screenshot MarkText screenshot Expected behavior
Operating System

macOS

MarkText Version

v0.24.0-rc.2

OS Version

macOS Tahoe

Reproducibility
  • I can reliably reproduce this issue
Lingua principale
TypeScript
Stelle
64.3k
Fork
4.8k
Merge medio
14h 19m
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di marktext/marktext

Tutte le issue di marktext/marktext

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.