1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-10-08 22:52:04 +02:00

feat: XML style definitions (#693)

Fixes #635.
This commit is contained in:
Alec Thomas
2022-11-02 15:23:14 +11:00
committed by GitHub
parent b2643973d2
commit c263f6fa19
132 changed files with 2595 additions and 2997 deletions

View File

@@ -222,7 +222,7 @@ func TestTableLinkeableLineNumbers(t *testing.T) {
assert.Contains(t, buf.String(), `id="line1"><a class="lnlinks" href="#line1">1</a>`)
assert.Contains(t, buf.String(), `id="line5"><a class="lnlinks" href="#line5">5</a>`)
assert.Contains(t, buf.String(), `/* LineLinks */ .chroma .lnlinks { outline: none; text-decoration:none; color:inherit }`, buf.String())
assert.Contains(t, buf.String(), `/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }`, buf.String())
}
func TestTableLineNumberSpacing(t *testing.T) {