Skip to content

Commit

Permalink
Merge pull request #228 from Mathpix/dev/olga/2814-Add-support-for-ve…
Browse files Browse the repository at this point in the history
…rtical-alignment-of-cell-content-for-multirow

PR into dev/olga/3767-Fix-tsv-outputs-for-tables-with-arrays-inside from  dev/olga/2814-Add-support-for-vertical-alignment-of-cell-content-for-multirow
  • Loading branch information
OlgaRedozubova authored Feb 15, 2023
2 parents 3879dbe + c53abd7 commit 5059898
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 13 deletions.
2 changes: 1 addition & 1 deletion es5/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion es5/index.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/markdown/common/consts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export declare const reSetCounter: RegExp;
export declare const reSetCounterG: RegExp;
export declare const reAddContentsLine: RegExp;
export declare const reAddContentsLineG: RegExp;
export declare const reMultiRowWithVPos: RegExp;
export declare const reMultiRow: RegExp;
export declare const latexEnvironments: string[];
/** https://docs.mathjax.org/en/v3.0-latest/input/tex/macros/index.html#environments */
export declare const mathEnvironments: string[];
Expand Down
4 changes: 3 additions & 1 deletion lib/markdown/common/consts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/markdown/common/consts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 23 additions & 4 deletions lib/markdown/md-block-rule/begin-tabular/multi-column-row.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/markdown/common/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export const reSetCounterG: RegExp = /\\setcounter\s{0,}\{(?<name>[^}]*)\}\s{0,}
export const reAddContentsLine: RegExp = /^\\addcontentsline\s{0,}\{(?<exp>[^}]*)\}\s{0,}\{(?<unit>[^}]*)\}/;
export const reAddContentsLineG: RegExp = /^\\addcontentsline\s{0,}\{(?<exp>[^}]*)\}\s{0,}\{(?<unit>[^}]*)\}/;

export const reMultiRowWithVPos: RegExp = /(?:\\multirow\s{0,}\[(?<vpos>[^\]]*)\]\s{0,}\{(?<nrows>[^}]*)\}\s{0,}\{(?<width>[^}]*)\})/;
export const reMultiRow: RegExp = /(?:\\multirow\s{0,}\{(?<nrows>[^}]*)\}\s{0,}\{(?<width>[^}]*)\})/;

export const latexEnvironments = [
"figure",
Expand Down
Loading

0 comments on commit 5059898

Please sign in to comment.