public List <MarkdownFileWithText> CheckForMarkdownFilesInProject()
 {
     ResetValues();
     if (!Directory.Exists(m_gitProjetPath))
     {
         return(m_markdownFiles);
     }
     m_mdFiles = Directory.GetFiles(@m_gitProjetPath, "*.md", SearchOption.AllDirectories);
     for (int i = 0; i < m_mdFiles.Length; i++)
     {
         MarkdownFileWithText file = new MarkdownFileWithText(m_mdFiles[i], m_gitProjetPath, false);
         m_markdownFiles.Add(file);
         m_markdownFileDetected.Invoke(file);
     }
     return(m_markdownFiles);
 }
Exemple #2
0
 public MarkdownImageInFile(MarkdownFileWithText file, MarkdownImageAsText image)
 {
     this.markdownFile  = file;
     this.markdownImage = image;
 }