const shortid = require('shortid')

module.exports = {
  autolinkHeadings: {
    behaviour: 'append',
  },

  bridge: {
    allowDangerousHtml: true,
    handlers:           {
      code: require('../../utils/code-handler'),
    },
  },

  footnotesTitles: 'Retourner au texte de la note $id',

  highlight: {
    ignoreMissing: true,
    plainText:     ['console'],
    aliases:       {tex: ['latex']},
  },

  sanitize: require('../sanitize'),

  postfixFootnotes: `-${shortid.generate()}`,

  postProcessors: {
    iframeWrappers:   require('./iframe-wrappers'),
    footnotesReorder: true,
    wrapCode:         true,
  },
}

@@ -460,17 +460,32 @@
 tnotes: 
-%60
+(agg) =%3E %60$%7Bagg%7D
 -$%7Bshort

Fix footnotes random postfix (#431)