diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/transformContent.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 69030224..faae35aa 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -232,6 +232,7 @@ export default { warnings, width, height, + align, pixelate, } = node; @@ -258,6 +259,9 @@ export default { inline: false, data: html.tag('div', {class: 'content-image-container'}, + align === 'center' && + {class: 'align-center'}, + image.slots({ src, |