code: function extractTypeSourcesFromMarkdown(mdSource) {
    var types = lang.string.lines(mdSource).reduce((typesAkk, line) => {
      if (line.trim().startsWith("//")) return typesAkk;
      if (typesAkk.current && !line.trim().length) {
        typesAkk.types.push(typesAkk.current); typesAkk.current = [];
      } else if (typesAkk.current && line.indexOf("```") > -1) {
        typesAkk.types.push(typesAkk.current); typesAkk.current = null;
      } else if (!typesAkk.current && line.indexOf("```js") > -1) {
        typesAkk.current = [];
      } else if (typesAkk.current) typesAkk.current.push(line);
      return typesAkk;
    }, {current: null, types: []}).types;
    return lang.arr.invoke(types, "join", "\n");
  }
docs: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- estree spec markdown parser