newren/git-filter-repo

Minor minor issue: markdown files may not render correctly out of github

Aperta

#446 aperta il 5 apr 2023

 (4 commenti) (0 reazioni) (0 assegnatari)Python (674 fork)batch import
good first issue

Metriche repository

Star
 (6745 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Markdown files distributed with this project (e.g. INSTALL.md) may not render correctly when displayed out of github (or better, with a markdown viewer that is not the github one).

Specifically, when paths including shell variables are used (e.g. $MANDIR/man1/) the string is not guarded by back quotes. As such all viewers supporting MathJax will interpret the $ as the beginning of a mathematical expression and misrender all the following text.

To avoid this problem, I suggest guarding all paths and shell variables in markdown files withing backquotes.

Guida contributor