hunk.code_window: import React from 'react'
   import ReactDOM from 'react-dom'
   import initialState from './state.json'
   import isImage from 'is-image-url'
   import { Map } from 'immutable'
   /**
    * Define a set of node renderers.
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: import isImage from 'is-image'
   import isUrl from 'is-url'
  
hunk.file_path: examples/images/index.js
hunk.type: replace
file: 
  export default function (state) {
    const { document, selection } = state
    const texts = document.getTextNodes()
    const first = texts.first()
    const range = selection.merge({
      anchorKey: first.key,
      anchorOffset: first.length,
      focusKey: first.key,
      focusOffset: first.length
    })
  
    return state
      .transform()
      .insertTextAtRange(range, ' ')
      .apply()
  }
  