From 16a5c1a45fdcf80f9cd537e427da30a2f69a7cb8 Mon Sep 17 00:00:00 2001 From: Geoff Seemueller Date: Thu, 14 Nov 2024 16:23:59 -0500 Subject: [PATCH] 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. --- package.json | 2 +- src/MarkdownGenerator.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0addb41..ba7ce97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-tokenizer-md", - "version": "1.0.2", + "version": "1.0.3", "type": "module", "main": "dist/index.js", "bin": { diff --git a/src/MarkdownGenerator.js b/src/MarkdownGenerator.js index fcf365f..c8860fc 100644 --- a/src/MarkdownGenerator.js +++ b/src/MarkdownGenerator.js @@ -50,7 +50,8 @@ export class MarkdownGenerator { '.yaml', '.ico', '.ttf', - '.css', + '.woff2', + 'woff' ], ); this.fileExclusions = options.fileExclusions || [