example-0.19/elm.js
function _Markdown_formatOptions(options) {
    function toHighlight(code, lang) {
      if (!lang && elm$core$Maybe$isJust(options.defaultHighlighting)) {
        lang = options.defaultHighlighting.a;
      }

      if (
        typeof hljs !== "undefined" &&
        lang &&
        hljs.listLanguages().indexOf(lang) >= 0
      ) {
        return hljs.highlight(lang, code, true).value;
      }

      return code;
    }

    var gfm = options.githubFlavored.a;

    return {
      highlight: toHighlight,
      gfm: gfm,
      tables: gfm && gfm.tables,
      breaks: gfm && gfm.breaks,
      sanitize: options.sanitize,
      smartypants: options.smartypants
    };
  }
function _Markdown_formatOptions(options) {
    function toHighlight(code, lang) {
      if (!lang && elm$core$Maybe$isJust(options.defaultHighlighting)) {
        lang = options.defaultHighlighting.a;
      }

      if (
        typeof hljs !== "undefined" &&
        lang &&
        hljs.listLanguages().indexOf(lang) >= 0
      ) {
        return hljs.highlight(lang, code, true).value;
      }

      return code;
    }

    var gfm = options.githubFlavored.a;

    return {
      highlight: toHighlight,
      gfm: gfm,
      tables: gfm && gfm.tables,
      breaks: gfm && gfm.breaks,
      sanitize: options.sanitize,
      smartypants: options.smartypants
    };
  }
function _Markdown_formatOptions ( options ) { function toHighlight ( code , lang ) { if ( ! lang && elm$core$Maybe$isJust ( options . defaultHighlighting ) ) { lang = options . defaultHighlighting . a ; } if ( typeof hljs !== "undefined" && lang && hljs . listLanguages ( ) . indexOf ( lang ) >= 0 ) { return hljs . highlight ( lang , code , true ) . value ; } return code ; } var gfm = options . githubFlavored . a ; return { highlight : toHighlight , gfm : gfm , tables : gfm && gfm . tables , breaks : gfm && gfm . breaks , sanitize : options . sanitize , smartypants : options . smartypants } ; }
FORMAT OPTIONS FOR MARKED IMPLEMENTATION
FORMAT OPTIONS FOR MARKED IMPLEMENTATION