github / github/paste-markdown
Pasted tables should use at least 3 hyphens in each column of the header row
- Linguagem predominante
- JavaScript
- Estrelas
- 234
- Forks
- 47
- Merge médio
- 1d 12h
- PRs com merge (30d)
- 5
Descrição
[GitHub's guide for Markdown tables](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables#creating-a-table) indicates:
> There must be at least three hyphens in each column of the header row.
But this plugin creates tables with two hyphens between each column of the header row. This behavior prevents strict renderers, such as Go's blackfriday, from detecting columns in tables pasted with this plugin:
[/russross/blackfriday](https://github.com/russross/blackfriday) ([block.go#L815](https://github.com/russross/blackfriday/blob/e96880f42b9343aea6cbfd99693adae0e5fe2b2a/block.go#L815))
Guia de contribuição
Direção de pesquisa
Comece reproduzindo a saída da tabela colada e localizando o código que gera os separadores da linha de cabeçalho. Altere os separadores gerados para que cada coluna tenha pelo menos três hífens e, em seguida, verifique se a tabela resultante é reconhecida por renderizadores estritos de Markdown, como blackfriday.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, markdown
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 45/100