stable

Clone or download

Read-only

Support rendering table in Markdown

Before the migration to CommonMark (see 9826dd9ffd3dc8d1a205069674374e03ca9715fd), the Markdown parser Tuleap was using was rendering table albeit without any style. This contribution adds back the possibility of using tables in Markdown document and makes the tables usable (tables are now styled) in a Burning Parrot context. Markdown content with tables on FlamingParrot pages is rendered the same way it was before: without any style. Closes request #14998: Markdown tables are no more rendered in the git browser Change-Id: Ibd8e1699cce17fc8338eb38df374e4dba5ed7b70

Modified Files

Name
M src/common/Markdown/CommonMarkInterpreter.php +1 −0 Go to diff View file
A src/common/Markdown/StyleTableForTlpProcessor.php +44 −0 Go to diff View file
A src/common/Markdown/TableTLPExtension.php +40 −0 Go to diff View file
M src/common/Widget/Note/ProjectNote.php +1 −3 Go to diff View file
A tests/unit/Tuleap/Markdown/TableTLPExtensionTest.php +76 −0 Go to diff View file