     throw new Error('Error parsing XML')
   return dom;
 
+
+# Override by option
 sanitize = null
+highlight = null
+
 compile = (node, parentKey='_start', tableAlign = null) ->
   key = parentKey+'_'+node.type
 

    when 'horizontalRule' then $ 'hr', {key}
    when 'image'          then $ 'img', {key, src: node.src, title: node.title, alt: node.alt}
    when 'inlineCode'     then $ 'code', {key, className:'inlineCode'}, node.value
    when 'code'
      $ 'pre', {key, className:'code'}, [
        $ 'code', {key: key+'-_inner-code'}, node.value
      ]

    # Has children
    when 'root'       then $ 'div', {key}, toChildren(node, key)

module.exports = (raw, options = {}) ->
  htmlWrapperComponent = options.htmlWrapperComponent ? defaultHTMLWrapper
  sanitize = options.sanitize ? true
  highlight = options.highlight ? (code, lang) ->
    $ 'pre', {key, className: 'code'}, [
      $ 'code', {key: key+'-_inner-code'}, code
    ]
  ast = mdast.parse raw, options
  compile(ast)
