Skip to content

Commit 021ab63

Browse files
committed
Add localhost as default external_link
1 parent 53591d3 commit 021ab63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Markdown/IO/ConfigurationFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public record ConfigurationFile : DocumentationFile
2323
public HashSet<string> Files { get; } = new(StringComparer.OrdinalIgnoreCase);
2424
public HashSet<string> ImplicitFolders { get; } = new(StringComparer.OrdinalIgnoreCase);
2525
public Glob[] Globs { get; } = [];
26-
public HashSet<string> ExternalLinkHosts { get; } = new(StringComparer.OrdinalIgnoreCase) { "elastic.co", "github.com", };
26+
public HashSet<string> ExternalLinkHosts { get; } = new(StringComparer.OrdinalIgnoreCase) { "elastic.co", "github.com", "localhost", };
2727

2828
private readonly Dictionary<string, string> _substitutions = new(StringComparer.OrdinalIgnoreCase);
2929
public IReadOnlyDictionary<string, string> Substitutions => _substitutions;

0 commit comments

Comments
 (0)