      R.archor = "";
                    R.headId = headId;
                    R.archor = archor;
                    R.lastlevel = level;
                    result = text;
                }
            }); 
            return result;
        } else if (R.mode & RendererMode.rmGnav) {
            marked(text, function (err, content) {
                result = err ? text : content; 
            }); 
            return result;
        } else {
            marked(text, function (err, content) {
             