hackmdio / hackmdio/hackmd-io-issues
Allow users to toggle off the default style applied to their notes
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 40
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Is your feature request related to a problem? Please describe.**
The problem is that the default CSS style that sets the H1 underline cannot be removed; at least from my own knowledge.
**Describe the solution you'd like**
A button at the bottom of the editor that toggles whether or not style any of the MD file.
**Describe alternatives you've considered**
I've created the below document that does everything, I think*, that I want to achieve; an MD document with full control of the document's styles such as the border-bottom in the H1 and fonts. Plus the defaults automatically bold the H1, and may have other defaults I'd like to wipe clean.
```
h1 {border-bottom: none !important;}
#md-document {all:initial;}
# Some Title
**By: Austin Foss**
```
Because the `all: initial;` doesn't reset everything, and things like the h1's border-bottom need to individually be overridden I'd like a simpler way to not apply HackMD's default styles.
**Additional context**
My solution doesn't override the automatic bolding, I'm not sure how I would do that while still being able to use `****` to apply bolding.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia leggendo il CSS predefinito dell’editor e il modo in cui gli stili vengono applicati alle note Markdown. Definisci l’ambito e il comportamento dell’interruttore, quindi verifica che la sua disattivazione rimuova lo stile predefinito delle note, preservando al contempo la formattazione Markdown e gli stili forniti dall’utente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- css, markdown
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100