newren/git-filter-repo

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

Open

#446 aberto em 5 de abr. de 2023

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Python (674 forks)batch import
good first issue

Métricas do repositório

Stars
 (6.745 stars)
Métricas de merge de PR
 (Mesclagem média 44d 2h) (1 fundiu PR em 30d)

Description

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.

Guia do colaborador