Docs Update: HTML Wrappers in markdown
I maintainer di solito rispondono entro 2 giorni
@jhildenbiddle ci sta già lavorando.
Dal 27/7/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Feature request
It may be worth adding a note to the docs that describes using HTML wrappers in markdown for targeting elements for CSS or JavaScript.
For example, wrapping a markdown table in a <div> element with a class:
<div class="highlight">
| Header | Header |
| -------| ------- |
| Cell | Cell |
| Cell | Cell |
</div>
Will allow that specific table to be targeted with the following CSS:
.highlight table {
border: 2px solid red;
}
The only concern is that while this works with docsify's current markdown processor, other markdown processors may not handle blocks of HTML & markdown the same way. If docsify decides to change markdown processors in the future, this functionality could break. Just something to consider.
What problem does this feature solve?
Docsify site owners often want to target specific elements, but markdown provides no standardized mechanism for adding attributes to elements and docsify only offers this functionality on a handful of elements via helpers. This addresses that problem without using docsify-specific markup that may be unintentionally rendered in other environments (GitHub, GitLab, etc.).
What does the proposed API look like?
Just a docs update.
How should this be implemented in your opinion?
Docs update.
Are you willing to work on this yourself?
Sure.
- Lingua principale
- JavaScript
- Stelle
- 31.5k
- Fork
- 5.8k
- Merge medio
- 2g 14h
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di docsifyjs/docsify
-
Query parameter values are truncated at a second equals signForse già presa @xu91102 l’ha presa 22 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
Bullet points beginning with inline math: subsequent text formatting not recognised correctlyApertabug Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni
-
Cached AJAX responses lose status metadata exposed through vm.route.responseForse già presa @xu91102 l’ha presa 22 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
In the Edge browser, the character `{docsify-updated}` is not replacedForse di nuovo libera @AmanUllah687 l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertawait for information
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
docsifyjs/docsify#2681 · 11 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Nested/Recursive includesApertafeature request Triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
docsifyjs/docsify#2643 · 5 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di docsifyjs/docsify
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
maproulette/maproulette-frontend#2944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
jaegertracing/jaeger-ui#4618 ·
I maintainer di solito rispondono entro 1 giorno
-
area:plugins enhancement platform:vscode
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
anthropics/claude-code#103166 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Kids Zone LogoApertacheck:failed logos:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
[workshop-sim] Improve: Add verifiable checkpoint and bridge to Step 5 (What Are Agentic Workflows?)Apertafeedback simulation workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-aw-workshop#4715 ·
I maintainer di solito rispondono entro 1 giorno