Adam Fourney
326d17b802
Bump version.
2025-02-28 07:29:12 -08:00
Hieu Lam
519fe172aa
Unable to convert HTML to Markdown ( #1072 )
...
* feat: issue where inherited function from `markdownify.MarkdownConverter` doesn't have `current_tags` leading to error using `kwargs`, also set default value for `convert_as_inline`
2025-02-28 00:57:41 -08:00
Adam Fourney
abe9752438
Bumped version
2025-02-10 16:01:17 -08:00
wunde005
73ba69d8cd
For csv files mimetypes.guess_type is returning "application/vnd.ms-excel" on windows causing an invalid mime type in plaintextconverter. In reference to issue: https://github.com/microsoft/markitdown/issues/150 ( #273 )
2025-02-08 20:58:13 -08:00
Werner Robitza
2a4f7bb6a8
fix: argparse CLI option ordering, fixes #268 ( #290 )
...
* fix: argparse CLI option ordering, fixes #268
* Fixed formatting.
2025-02-08 20:50:38 -08:00
masquare
7cf5e0bb23
feat(pptx): support image description with LLM for pptx files ( #306 )
2025-02-08 20:37:34 -08:00
James Hickey
3090917a49
Typo fixed ( #270 )
2025-02-08 20:30:13 -08:00
ZeyuTeng96
7bea2672a0
remove leading and trailing \n for HtmlConverter ( #262 )
2025-02-08 20:28:35 -08:00
KennyZhang1
bfde857420
Add support for conversion via Document Intelligence ( #303 )
...
* added cli params for doc intel
* added DocumentIntelligenceConverter class implementation
* initialized doc intel client instance field
* added isolated doc_intel main conversion function
* temp fix for ContentFormat import bug
* ran tests for docintel and offline for many filetypes
* push doc intel converter to the top of the stack
* formatting changes
* modified project toml file
2025-01-24 14:09:32 -08:00
afourney
f58a864951
Set exiftool path explicitly. ( #267 )
2025-01-06 12:43:47 -08:00
afourney
05b78e7ce1
Recognize json as plain text (if no other handlers are present). ( #261 )
...
* Recognize json as plain text (if no other handlers are present).
2025-01-03 16:40:43 -08:00
afourney
436407288f
If puremagic has no guesses, try again after ltrim. ( #260 )
2025-01-03 16:03:11 -08:00
yeungadrian
08ed32869e
Feature/ Add xls support ( #169 )
...
* add xlrd
* add xls converter with tests
2025-01-03 13:58:17 -08:00
Murat Can Kurtuluş
d248621ba4
feat: outlook ".msg" file converter ( #196 )
...
* feat: outlook .msg converter
* add test, adjust docstring
2025-01-03 13:34:39 -08:00
AbSadiki
4678c8a2a4
fix(transcription): IS_AUDIO_TRANSCRIPTION_CAPABLE should be iniztialized ( #194 )
2025-01-03 13:29:26 -08:00
lumin
cfd2319c14
feat: add version option to markitdown CLI ( #172 )
...
Add a `--version` option to the markitdown command-line interface
that displays the current version number.
2024-12-20 16:24:45 -08:00
Soulter
1123392306
fix: support -o param to avoid encoding issues ( #116 )
...
* perf: cli supports -o param
* doc: update README
---------
Co-authored-by: gagb <gagb@users.noreply.github.com >
2024-12-20 14:43:00 -08:00
SigireddyBalasai
5276616ba1
Added support to use Pathlib ( #93 )
...
* Add support for Path objects in MarkItDown conversion methods
* Remove unnecessary blank line in test_markitdown_exiftool function
* Remove unnecessary blank line in test_markitdown_exiftool function
* remove pathlib path in test file
---------
Co-authored-by: afourney <adamfo@microsoft.com >
Co-authored-by: gagb <gagb@users.noreply.github.com >
2024-12-20 14:12:48 -08:00
Sugato Ray
08a25345e3
[feat]: add support for type-hinting for PEP-561
2024-12-20 02:37:10 +00:00
Sugato Ray
613825d5b3
[feat]: add support for type-hinting for PEP-561
2024-12-20 02:12:24 +00:00
Sugato Ray
6f3c762526
Merge branch 'main' into update_commandline_help
2024-12-18 17:50:07 -05:00
Sugato Ray
356e895306
update formatting with pre-commit
2024-12-18 21:45:23 +00:00
gagb
5fc70864f2
Run pre-commit
2024-12-18 11:46:39 -08:00
Sugato Ray
39410d01df
Update CLI helpdoc formatting to allow indentation in code
...
Use `textwrap.dedent()` to allow indented cli-helpdoc in `__main__.py` file. The indentation increases readability, while `textwrap.dedent` helps maintain the same functionality without breaking code.
2024-12-18 14:22:58 -05:00
Joel Esler
6e4caac70d
Safeguard against path traversal for ZipConverter
...
fix: prevent path traversal vulnerabilities in ZipConverter
Added a secure check for path traversal vulnerabilities in the ZipConverter class.
Now validates extracted file paths using `os.path.commonprefix` to ensure all files
remain within the intended extraction directory. Raises a `ValueError` if a
path traversal attempt is detected.
- Normalized file paths using `os.path.normpath`.
- Added specific exception handling for `zipfile.BadZipFile` and traversal errors.
- Ensured cleanup of extracted files after processing when `cleanup_extracted` is enabled.
2024-12-18 13:12:55 -05:00
gagb
362214323e
Merge branch 'main' into feature/fix-code-comments
2024-12-17 16:38:47 -08:00
afourney
9e546a8588
Merge branch 'main' into main
2024-12-17 15:37:28 -08:00
Adam Fourney
8d5f16ecd2
Fixed formatting.
2024-12-17 15:27:06 -08:00
afourney
a571021199
Merge branch 'main' into main
2024-12-17 15:12:59 -08:00
afourney
9add517510
Merge branch 'main' into feature/fix-code-comments
2024-12-17 14:56:16 -08:00
Adam Fourney
9518c01d4e
Bump version.
2024-12-17 13:51:13 -08:00
Adam Fourney
95188a4a27
Merge main.
2024-12-17 13:46:26 -08:00
Adam Fourney
03a7843a0a
Added deprecation warnings for mlm_* arguments.
2024-12-17 13:22:48 -08:00
Adam Fourney
248d64edd0
Added llm tests to the local test set.
2024-12-17 12:13:19 -08:00
Lee Bush
05a49ca129
fix incorrect comments for "bail if not ..." for WAV and image cases.
2024-12-17 08:10:53 -07:00
Soulter
752fbd333c
feat: add tests of rss convertor
2024-12-17 22:45:27 +08:00
Soulter
7dc2695b96
feat: support convert atom to markdown
2024-12-17 21:44:50 +08:00
Soulter
53fad6eb31
feat: add rss converter
2024-12-17 21:22:27 +08:00
Om Gupta
60c4a62917
Merge branch 'microsoft:main' into main
2024-12-17 10:33:40 +05:30
Om Gupta
3eb8cf385b
Merge branch 'main' of https://github.com/AumGupta/markitdown
2024-12-17 10:24:30 +05:30
Om Gupta
8c91c11ea8
pre-commit run
2024-12-17 10:24:25 +05:30
gagb
ad29122592
run precommit
2024-12-16 18:09:48 -08:00
gagb
898bfd4774
Merge branch 'main' into main
2024-12-16 18:00:26 -08:00
gagb
825d3bbb77
Merge branch 'main' into issue#65
2024-12-16 17:09:53 -08:00
gagb
874eba6265
Merge branch 'main' into patch-2
2024-12-16 16:59:22 -08:00
gagb
c3fa2934b9
Run pre-commit
2024-12-16 16:56:52 -08:00
kevinbabou
33638f1fe6
feature: add argument parsing and setup.py file for cli tool capability
2024-12-16 16:28:44 -08:00
gagb
dbc727615d
Merge branch 'main' into main
2024-12-16 15:48:49 -08:00
gagb
b0115cf971
Merge branch 'main' into youtube-transcript-languages
2024-12-16 15:47:38 -08:00
gagb
980abd3a60
Merge branch 'main' into main
2024-12-16 15:24:58 -08:00