summaryrefslogtreecommitdiff
path: root/spec/source_spec.rb
AgeCommit message (Expand)Author
2020-09-06fix crash when Pygments style is not recognized; fall back to pastie styleDan Allen
2020-09-03exclude visual Rouge test if Rouge <= 2.1.0Dan Allen
2020-09-03verify underline style can be used in Rouge themeDan Allen
2020-09-03verify default background color is used to highlight lines in source blockDan Allen
2020-09-02test that color value for token is expanded when highlighting source using RougeDan Allen
2020-09-02test token with background color when highlighting source using RougeDan Allen
2020-09-01exclude line-oriented background test when using Rouge < 2.1Dan Allen
2020-09-01test line-oriented bg when highlighting source with RougeDan Allen
2020-09-01make sure Rouge theme can set both bold and italic on tokenDan Allen
2020-08-31verify converter does not crash if CodeRay generates a token with nil text (e...Dan Allen
2020-08-30allow Rouge theme to be specified as theme classDan Allen
2020-08-23verify theme instance can be passed to Rouge formatterDan Allen
2020-08-12fix lint errorDan Allen
2020-08-12fix assertion for highlighting of PHP with and without function name highligh...Dan Allen
2020-08-12verify indentation is preserved for single highlighted line in source block h...Dan Allen
2020-08-08add test for indentation guards on line that begins with space when highlight...Dan Allen
2020-08-07update pygments test to use theme that uses both font style and background colorDan Allen
2020-08-03verify start line number < 1 for source block is coerced to 1 when highlighti...Dan Allen
2020-07-19fix lint error in testDan Allen
2020-07-19verify encoded source is shown if Pygments fails to return a valueDan Allen
2020-07-14use and enforce a consistent style for comment annotationsDan Allen
2020-07-02really fix rouge testsDan Allen
2020-07-02skip incompatible tests on Rouge 2.0.0Dan Allen
2020-07-02test more permutations of source language with cgi-style optionsDan Allen
2020-06-23test uncovered cases indent guarding when highlighting with pygmentsDan Allen
2020-06-23fix invalid pygments textDan Allen
2020-06-19verify conum font color is inherited if nil when source highlighter is not en...Dan Allen
2020-06-18verify plain-text lexer is used when highlighting with rouge if language not ...Dan Allen
2020-06-10fix assertion for fallback conum font colorDan Allen
2020-06-07assert no lines are highlighted when highlight attribute is empty and source ...Dan Allen
2020-06-07change pygments theme for empty highlight attribute test to clarify assertionDan Allen
2020-06-07don't apply syntax highlighting to source block if specialchars sub is disabledDan Allen
2020-05-27resolves #1704 allow callouts sub to be disabled on source blocks (PR #1706)Dan Allen
2020-05-27verify conum font color is inherited if not set in themeDan Allen
2020-05-26fall back gracefully if unrecognized convert-time syntax highlighter is usedDan Allen
2020-05-26add test that converter gracefully ignores client-side source highlighterDan Allen
2020-05-25verify callout in source block can be escapedDan Allen
2020-05-25add test to verify no lines are highlighted on source block if highlight attr...Dan Allen
2020-05-25add test to verify callouts do not affect syntax highlighting when using code...Dan Allen
2020-05-24add test for source language passed to CodeRay with invalid characters; fallb...Dan Allen
2020-05-24write test to verify sublanguage is passed to rouge if source language starts...Dan Allen
2020-05-14test that text/plain lexer is used if source language not recognized by PygmentsDan Allen
2020-05-14test PHP highlighting when source highlighter is PygmentsDan Allen
2020-05-12use single-quoted heredoc where possibleDan Allen
2020-04-10add test to cover missing tab expansion caseDan Allen
2020-03-19resolves #1611 use conum font family defined in theme for conum in verbatim b...Dan Allen
2020-02-12resolves #1552 drop support for versions of Asciidoctor < 2 (PR #1553)Dan Allen
2020-01-28don't run pygments tests on JRuby for WindowsDan Allen
2020-01-15don't run pygments test if pygments isn't loadedDan Allen
2020-01-12hide whitespace in front of conums from source highlighter; simplify how spac...Dan Allen