hackmdio / hackmdio/codimd

Insert additional separators to the HTML title if the 1st level heading contains raw line breaks `<br>`

Offen
#749 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
Vorherrschende Sprache
JavaScript
Sterne
10.1k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

![Issue Demonstration Screenshot](https://user-images.githubusercontent.com/13408130/37214368-cb7d5988-23ef-11e8-909e-2a0c3ba47766.png)

## Rationale
It is possible to insert line breaks in 1st level headings by exploiting the `
` tag, however this generates ugly HTML title as the line break isn't represented. Please support inserting additional separators like ` `, ` - ` or ` | ` where the line breaks are available to make it less uglier.

## Bonus
Allow user to decide the behavior and separator pattern via note metadata.

## Additional Information
This also includes Book Mode and Slide Mode, which is HackMD EE features.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Start by locating the code that derives the HTML title from the first-level heading and check how raw
line breaks are represented. Compare the behavior in normal, Book Mode, and Slide Mode notes; done means line breaks produce the intended title separators and any metadata-based configuration has a defined behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
html, javascript
Bereich
content, web-dev
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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