Skip to content

Commit b3d6aba

Browse files
committed
Remove small-img style from image tags
Signed-off-by: PoojaB26 <[email protected]>
1 parent 110ae0b commit b3d6aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convertImages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const markdownImageRegex = /!\[(.*?)\]\((.*?)\)/g;
77
function convertImageSyntax(filePath) {
88
let content = fs.readFileSync(filePath, 'utf8');
99
content = content.replace(markdownImageRegex, (match, alt, src) => {
10-
return `<img src="${src}" alt="${alt}" class="small-image" />`; // Customize this string as needed
10+
return `<img src="${src}" alt="${alt}" />`; // Customize this string as needed
1111
});
1212
fs.writeFileSync(filePath, content, 'utf8');
1313
}

0 commit comments

Comments
 (0)