Skip to content

Commit

Permalink
Merge pull request #224 from Mathpix/dev/olga/3767-Fix-tsv-outputs-fo…
Browse files Browse the repository at this point in the history
…r-tables-with-arrays-inside

PR into master from dev/olga/3767-Fix-tsv-outputs-for-tables-with-arrays-inside
  • Loading branch information
nicodjimenez authored Feb 15, 2023
2 parents f063c86 + 5059898 commit 8fe063b
Show file tree
Hide file tree
Showing 92 changed files with 2,832 additions and 480 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ const parsed = MathpixMarkdownModel.parseMarkdownByHTML(html, false);
```js
[
{
type: 'thml',
type: 'html',
value: '<table>..</table>'
},
{
Expand Down
2 changes: 1 addition & 1 deletion es5/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion es5/context-menu.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/contex-menu/index.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/contex-menu/index.js.map

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

7 changes: 6 additions & 1 deletion lib/contex-menu/menu/consts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ export declare const paddingMenu = 5;
export declare const paddingMenuBottomSmall = 34;
export declare const maxWidthMenu = 320;
export declare const mathExportTypes: string[];
/** Classes mmd for which the context menu is supported */
export declare const mmdClassesForContextMenu: string[];
export declare enum eMathType {
latex = "latex",
asciimath = "asciimath",
mathml = "mathml",
mathmlword = "mathmlword"
mathmlword = "mathmlword",
tsv = "tsv",
table_markdown = "table-markdown",
smiles = "smiles"
}
17 changes: 15 additions & 2 deletions lib/contex-menu/menu/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/contex-menu/menu/consts.js.map

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

3 changes: 2 additions & 1 deletion lib/contex-menu/menu/helper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export declare const getMenuElement: () => Element;
export declare const getContextMenuElement: () => Element;
export declare const positionMenu: (e: any) => void;
export declare const getPositionMenuByClick: (e: any, itemsLength: any) => IMenuPosition;
export declare const clickInsideElement: (e: any, className: any) => any;
export declare const findClassInElement: (el: any, classNamesList: any) => string;
export declare const clickInsideElement: (e: any, classNamesList: any) => any;
32 changes: 25 additions & 7 deletions lib/contex-menu/menu/helper.js

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

Loading

0 comments on commit 8fe063b

Please sign in to comment.