MathJax/MathML deprecation warnings
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- r
- Ambito
- documentation
Direzione di ricerca
Inizia con l’opzione math-rendering e il codice collegato in R/markdown.R intorno alla riga 143, poi controlla come pkgdown crea gli argomenti della riga di comando di Pandoc. Aggiorna le opzioni obsolete MathML e MathJax alla forma documentata --math-method, mantenendo il supporto per le versioni di Pandoc supportate. Il lavoro è completato quando le build non emettono più questi avvisi di deprecazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The current math-rendering option is based on the now deprecated pandoc options mathml and mathjax, and as such any builds using deprecation-marked versions of pandoc, especially of multiple files, will result in a potentially large number of unresolvable deprecation warnings, e.g. from a sandpaper build process
── Creating citation page ────────────────────────────────────────────────────────
! No yaml header found in the first 10 lines of CITATION.md
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `instructor/introduction-r-rstudio.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `introduction-r-rstudio.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `instructor/visualizing-ggplot.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `visualizing-ggplot.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `instructor/how-r-thinks-about-data.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
Writing `how-r-thinks-about-data.html`
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
[WARNING] Deprecated: --mathml. Use --math-method=mathml instead.
https://github.com/r-lib/pkgdown/blob/f69b62a7e74b58b42170284b6f3f56c674e7a3f8/R/markdown.R#L143
The correct options for pandoc 3.11 and above are of the format --math-method=mathml or --math-method=mathjax: https://pandoc.org/demo/example33/3.6-math-rendering.html
- Lingua principale
- R
- Stelle
- 777
- Fork
- 361
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 r-lib/pkgdown
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
favicons fallback on raster.png due to smart quote in inst/BS5/templates/head.htmlForse già presa @njtierney l’ha presa 121 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
Tutte le issue di r-lib/pkgdown
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
microbiome/OMA#911 ·
-
SbivarApertaAI review
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
LiNk-NY/BiocReviews#76 ·
-
Simulated outbreak data contains partial information for time after `cap_max_day`Forse già presa @joshwlambert l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
epiforecasts/ringbp#258 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
pharmaverse/admiraldev#581 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
tdhock/mlr3resampling#108 · 1 commento ·