mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 05:58:40 +00:00
Support \hdashline (#1407)
* Support \hdashline Support `\hdashline` from package `arydshln`. This PR acts as a complement to PR #1395. Similarly to #1395, the dashed line is rendered as `border-bottom-style: dashed;`. That does not exactly match the `dashsegment` and `dashgap` lengths in `arydshln`, but it does render black lines with sharp edges. * Fixed top line position * Add screenshots * Fix lint error * Fix another lint error * Deleted HLine screenshots * Pick up comments
This commit is contained in:
@@ -1137,6 +1137,7 @@ describe("A begin/end parser", function() {
|
||||
|
||||
it("should parse an environment with hlines", function() {
|
||||
expect("\\begin{matrix}\\hline a&b\\\\ \\hline c&d\\end{matrix}").toParse();
|
||||
expect("\\begin{matrix}\\hdashline a&b\\\\ \\hdashline c&d\\end{matrix}").toParse();
|
||||
});
|
||||
|
||||
it("should error when name is mismatched", function() {
|
||||
|
Reference in New Issue
Block a user