Skip to content

Commit 162ccb0

Browse files
committed
fix formatting and use context.page_title
1 parent f96b010 commit 162ccb0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/syntax/_snippets/reusable-snippet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is a snippet included on "{{page_title}}".
1+
This is a snippet included on "{{context.page_title}}".
22

33
:::{tip}
44
This is a snippet

docs/testing/nested/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
sub:
33
x: "Variable"
4+
navigation_title: "Testing nesting and {{x}}"
45
---
5-
# Testing Nesting
6+
# Testing Nesting and {{x}}
67

78
The files in this directory are used for testing purposes. Do not edit these files unless you are working on tests.
89

src/Elastic.Markdown/Helpers/Interpolation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static bool ReplaceSubstitutions(
5454
public static bool ReplaceSubstitutions(
5555
this ReadOnlySpan<char> span,
5656
IReadOnlyDictionary<string, string>[] properties,
57-
[NotNullWhen(true)]out string? replacement
57+
[NotNullWhen(true)] out string? replacement
5858
)
5959
{
6060
replacement = null;

0 commit comments

Comments
 (0)