Update MarkdownGenerator with new font file extensions

Added support for '.woff2' and 'woff' file extensions to the MarkdownGenerator's configuration. Incremented the version in package.json to 1.0.3 to reflect these changes.
This commit is contained in:
2024-11-14 16:23:59 -05:00
parent b61c5cc9d5
commit 16a5c1a45f
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "code-tokenizer-md", "name": "code-tokenizer-md",
"version": "1.0.2", "version": "1.0.3",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"bin": { "bin": {

View File

@@ -50,7 +50,8 @@ export class MarkdownGenerator {
'.yaml', '.yaml',
'.ico', '.ico',
'.ttf', '.ttf',
'.css', '.woff2',
'woff'
], ],
); );
this.fileExclusions = options.fileExclusions || [ this.fileExclusions = options.fileExclusions || [