mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
Run the existing Razor-to-markdown pipeline on Index.razor so the
homepage markdown twin mirrors what the page actually renders, instead
of reusing the llms.txt site index.
Extend ExtractRadzenTextContent to cover the patterns the homepage
uses:
* Recognise TagName.H1..H6 (preferred) and TextStyle.DisplayH1..H6
as headings, not just TextStyle.H2..H6.
* Read the Text="..." attribute when the tag body is empty, so
self-closing RadzenText elements (subscription cards, testimonials)
contribute content.
* Track self-closing tags in the depth loop so the extractor exits
cleanly on <RadzenText .../> lines.
* Replace the naive @expression strip with a balanced-parens variant
that no longer leaves format-string fragments like "MMM dd, yyyy").