Support \hline (#1306)

* Support \hline

Support `\hline`.

* Fix CSS

* Fix lint errors

* Add double \hline. Code Cleanup

* Reduce width of screenshot test

* Add screenshots

* Use consumeSpaces, read multiple \hlines

* Code cleanup

* Update screenshots
This commit is contained in:
Ron Kok
2018-05-12 10:51:14 -07:00
committed by Erik Demaine
parent 929b9bf5e7
commit 74422e1462
6 changed files with 65 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
.mfrac .frac-line,
.overline .overline-line,
.underline .underline-line {
.underline .underline-line,
.hline {
min-height: 1px;
}
}
@@ -317,7 +318,8 @@
}
.overline .overline-line,
.underline .underline-line {
.underline .underline-line,
.hline {
display: inline-block;
width: 100%;
border-bottom-style: solid;