diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/transformContent.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 2c0a8e41..d003c5b8 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -356,6 +356,7 @@ export default { link: true, width: width ?? null, height: height ?? null, + thumb: slots.thumb, }), }; } @@ -460,8 +461,6 @@ export default { // Expand line breaks which are at the end of a quote. .replace(/(?<=^>.*)\n+(?!^>)/gm, '\n\n'); - // TODO for images: make sure to use slots.thumb! - return marked.parse(markedInput, markedOptions); } |