관리자 목록과 이미지 설정 개선

This commit is contained in:
2026-07-20 12:37:53 +09:00
parent cf7d6ca0de
commit ad38644171
19 changed files with 788 additions and 92 deletions

View File

@@ -1,4 +1,5 @@
import { buildCalloutOpenerLine } from './markdown-callout.js'
import { serializeImageMarkdown } from './markdown-image.js'
const BLANK_PARAGRAPH_MARKER = '<!--sori:blank-paragraph-->'
@@ -16,11 +17,7 @@ const serializeImageBlock = (image = {}) => {
return ''
}
const width = image.width && image.width !== 'regular'
? `{width=${image.width}}`
: ''
return `![${image.alt || ''}](${url})${width}`
return serializeImageMarkdown({ ...image, url })
}
/**