The "Handle Dynamic Content" section of the getting started guide has a copy paste bug here:
|
**Handle Dynamic Content** |
|
|
|
Real build tools display filenames and counts that come from variables. Let's use `MarkupLineInterpolated()` to safely include dynamic values: |
|
|
|
```csharp:xmldocid,bodyonly |
|
M:Spectre.Docs.Examples.SpectreConsole.Tutorials.GettingStartedTutorial.ShowDocumentationLink(System.String) |
|
``` |
It's duplicating the example above it for the documentation link (modified in this commit: bcfdb99).
It looks like in the corresponding code file for the tutorial the method meant to be shown here was never added: https://github.com/spectreconsole/website/blob/main/Spectre.Docs.Examples/SpectreConsole/Tutorials/GettingStartedTutorial.cs
So, it's not just a quick fix of putting in the proper name, the actual sample code to demonstrate this feature is missing. (I'm also not sure if the linked to https://spectreconsole.net/console/widgets/markup page for the Markup Widget has an example either? [There's no reference to MarkupLineInterpolated on that page.])
(For my understanding, I'm trying to understand if using MarkupLineInterpolated is reactive, so if I update the filename or something later that the displayed text changes automatically? Otherwise what's different than just passing the templated string into the standard method?)
The "Handle Dynamic Content" section of the getting started guide has a copy paste bug here:
website/Spectre.Docs/Content/console/tutorials/getting-started-building-rich-console-app.md
Lines 131 to 137 in a9091a2
It's duplicating the example above it for the documentation link (modified in this commit: bcfdb99).
It looks like in the corresponding code file for the tutorial the method meant to be shown here was never added: https://github.com/spectreconsole/website/blob/main/Spectre.Docs.Examples/SpectreConsole/Tutorials/GettingStartedTutorial.cs
So, it's not just a quick fix of putting in the proper name, the actual sample code to demonstrate this feature is missing. (I'm also not sure if the linked to https://spectreconsole.net/console/widgets/markup page for the Markup Widget has an example either? [There's no reference to
MarkupLineInterpolatedon that page.])(For my understanding, I'm trying to understand if using
MarkupLineInterpolatedis reactive, so if I update the filename or something later that the displayed text changes automatically? Otherwise what's different than just passing the templated string into the standard method?)