diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index 19ce3e53e..9f3fce8ae 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -830,6 +830,8 @@ namespace MatterHackers.MatterControl this.Library.LibraryCollectionContainer = new LibraryCollectionContainer(); + // this.Library.LibraryCollectionContainer.HeaderMarkdown = "Here you can find the collection of libraries you can use".Localize(); + this.Library.RegisterContainer( new DynamicContainerLink( () => "Library".Localize(), diff --git a/MatterControlLib/Library/Providers/GitHub/GitHubContainer.cs b/MatterControlLib/Library/Providers/GitHub/GitHubContainer.cs index 4def79216..4fb5a1fef 100644 --- a/MatterControlLib/Library/Providers/GitHub/GitHubContainer.cs +++ b/MatterControlLib/Library/Providers/GitHub/GitHubContainer.cs @@ -101,7 +101,6 @@ namespace MatterHackers.MatterControl.Library OnContentChanged(); return; } - HeaderMarkdown = "Some good markdown in the markdown header part"; ParseJson(content); } }, @@ -146,8 +145,17 @@ namespace MatterHackers.MatterControl.Library Repository, file.download_url)); } - else if (file.name.ToLower() == "index.md") + else if (file.name == "index.md") { + var uri = $"https://raw.githubusercontent.com/{Account}/{Repository}/main/{RepoDirectory}/index.md"; + WebCache.RetrieveText(uri, + (content) => + { + HeaderMarkdown = content; + OnContentChanged(); + }, + true, + AddCromeHeaders); } else {