nt;
    R.lastlevel = -1;
    R.headId = -1;
    R.archor = "";
    R.renderer = new marked.Renderer();
    R.renderer.heading = R.heading();
    R.renderer.listitem = R.listitem();
    marked.setOptions({
        renderer: R.renderer,
        gfm: true,
        tables: true,
        breaks: false,
        pedantic: false,
        sanitize: false,
        smartLists: true,
        smartypants: false,
        highlight: function (code, lang) {
            if (typeof lang === 'string' && lang.length > 0) {
  