We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f394b0 commit df05762Copy full SHA for df05762
src/Elastic.Markdown/IO/MarkdownFile.cs
@@ -142,6 +142,8 @@ private void ReadDocumentInstructions(MarkdownDocument document)
142
Title = RelativePath;
143
Collector.EmitWarning(FilePath, "Document has no title, using file name as title.");
144
}
145
+ else if (Title.AsSpan().ReplaceSubstitutions(subs, out var replacement))
146
+ Title = replacement;
147
148
var contents = document
149
.Descendants<HeadingBlock>()
0 commit comments