hunk.code_window: const scale = computed(() => {
     if (props.scale && !isPrintMode.value)
       return props.scale
     if (screenAspect.value < slideAspect)
       return width.value / slideWidth
     return height.value * slideAspect / slideWidth
   })
   const style = computed(() => ({
  
hunk.labels: keep keep keep replace replace replace keep keep keep
hunk.after_edit:   if (screenAspect.value < slideAspect.value)
       return width.value / slideWidth.value
     return height.value * slideAspect.value / slideWidth.value
  
hunk.file_path: packages/client/internals/SlideContainer.vue
hunk.type: replace
file: import { describe, expect, it } from 'vitest'
  import Markdown from 'markdown-it'
  import markdownItPrism from '../packages/slidev/node/plugins/markdown-it-prism'
  
  describe('markdown-it-prism', () => {
    const md = Markdown()
    markdownItPrism(md, { plugins: [], init: () => {} })
  
    it('should render multi-line JS strings and comments correctly', () => {
      const text = `
  \`\`\`js
  \`Multi
  line\`
  /**
   * Hello
   */
  \`\`\`
  `
      const actual = md.render(text)
      expect(actual).toMatchSnapshot()
    })
  
    it('should render multi-line XML nodes correctly', () => {
      const text = `
  \`\`\`xml
  <a/>
  <b
    attr="value"
  />
  \`\`\`
  `
      const actual = md.render(text)
      expect(actual).toMatchSnapshot()
    })
  
    it('should render non-multiline statements correctly', () => {
      const text = `
  \`\`\`ts
  const a = 1;
  const b = 2;
  const c = a + b;
  \`\`\`
  `
      const actual = md.render(text)
      expect(actual).toMatchSnapshot()
    })
  })
  