feat: markitdown implementation (#486)
* feat: markitdown implementation * fix: code review and docker file: * fix: add markitdown PATH in container * fix: feedback changes * en: readme changed
This commit is contained in:
parent
8af8e59b4f
commit
f2a92aaf39
4 changed files with 52 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ import { convert as convertresvg, properties as propertiesresvg } from "./resvg"
|
|||
import { convert as convertImage, properties as propertiesImage } from "./vips";
|
||||
import { convert as convertVtracer, properties as propertiesVtracer } from "./vtracer";
|
||||
import { convert as convertxelatex, properties as propertiesxelatex } from "./xelatex";
|
||||
import { convert as convertMarkitdown, properties as propertiesMarkitdown } from "./markitdown";
|
||||
|
||||
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
|
||||
|
||||
|
|
@ -127,6 +128,10 @@ const properties: Record<
|
|||
properties: propertiesVtracer,
|
||||
converter: convertVtracer,
|
||||
},
|
||||
markitDown: {
|
||||
properties: propertiesMarkitdown,
|
||||
converter: convertMarkitdown,
|
||||
},
|
||||
};
|
||||
|
||||
function chunks<T>(arr: T[], size: number): T[][] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue