hackmdio / hackmdio/codimd

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

Aperta
#749 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
10.1k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

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

Valutazione

Stack tecnologico
html, javascript
Ambito
content, web-dev
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.