forked from ocaml-doc/odoc-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes several alignment issues. 1. No alignment in a cell was encoded as an alignment to `Center. "Centering" was certainly a typo, but there is also the issue that "no specified alignment" should really be different than "specified to ..." For instance (assuming `{R ...}` exists): ``` {R {t |aaa|bbb| |---|---| |xxx|yyy|}} ``` would not be right-aligned inside the table, with the previous behaviour. This commit allows for "unspecified alignment" using an option. 2. No alignment in a table was encoded as an empty list of alignment. This was wrong, since at some point we might want to raise warnings in case the number of alignment and the number of columns differ. Signed-off-by: Paul-Elliot <[email protected]>
- Loading branch information
Showing
4 changed files
with
78 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters