public static List <MDTag> GetAllTagsDefault(this LitOptions LO, LitElm elm, String Filename, int HeaderLevel)
        {
            var retVal   = new List <MDTag>();
            var tempList = new List <LitTag>();

            tempList.Add(elm.TreeTag);
            tempList.AddRange(elm.UserTags);
            retVal = tempList.Select(t => new MDTag()
            {
                TagName = t.Tag,
                TagFile = Filename,
                TagLine = LO.WriteElmTagEX(elm)
            }).ToList();

            foreach (var child in elm.Children)
            {
                retVal.AddRange(ParsingTools.GetAllTagsDefault(LO, child, Filename, HeaderLevel + 1));
            }
            return(retVal);
        }
 public static List <MDTag> GetAllTagsDefault(this LitOptions LO, LitElm elm, String Filename)
 {
     return(ParsingTools.GetAllTagsDefault(LO, elm, Filename, 1));
 }