Skip to content

Commit a90f8f7

Browse files
feat(docx): add support for Microsoft Word documents
- Add mammoth.js dependency in package.json - Create specialized handler for .docx file processing - Add text extraction functionality using mammoth.extractRawText - Exclude DOCX files from binary file filtering - Update README to document the new functionality
1 parent 18e05a5 commit a90f8f7

File tree

5 files changed

+1740
-973
lines changed

5 files changed

+1740
-973
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 getCurrentThread
3+
Copyright (c) 2024-2025 getCurrentThread
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Recursively generate markdown from files in the current directory.
1010
- Ignores binary files and respects .gitignore patterns
1111
- Provides a webview for previewing the generated markdown
1212
- Allows downloading the generated markdown
13+
- Supports extracting text from DOCX files
1314

1415
## Usage
1516

@@ -25,12 +26,23 @@ This extension contributes the following settings:
2526
- `recursiveMarkdownGenerator.ignorePatterns`: Patterns to ignore when generating markdown
2627
- `recursiveMarkdownGenerator.ignoreFiles`: Files containing ignore patterns (e.g., .gitignore)
2728

29+
## Supported File Types
30+
31+
- All standard text files
32+
- Microsoft Word documents (.docx) - text content only
33+
2834
## Known Issues
2935

3036
Please report any issues on the GitHub repository.
3137

3238
## Release Notes
3339

34-
### 0.0.1
40+
### 1.1.0
41+
42+
- Added support for extracting text content from Microsoft Word (.docx) files
43+
- Improved file handling for binary files
44+
- Enhanced error reporting for file processing
45+
46+
### 1.0.1
3547

3648
Initial release of Recursive Markdown Generator

0 commit comments

Comments
 (0)