Skip to content

[test] tag one BrightScript fence to verify ReadMe rendering#51

Merged
jduval23 merged 1 commit into
rokudev:v2.0from
bblietz:test/brightscript-fence-render-check
May 18, 2026
Merged

[test] tag one BrightScript fence to verify ReadMe rendering#51
jduval23 merged 1 commit into
rokudev:v2.0from
bblietz:test/brightscript-fence-render-check

Conversation

@bblietz
Copy link
Copy Markdown

@bblietz bblietz commented May 16, 2026

Purpose

This is a draft test PR, not intended to merge. It tags exactly one BrightScript code block with the ```brightscript info string in `docs/REFERENCES/brightscript/interfaces/ifstringops.md` (the AppendString() example, L48). The other 26 code blocks on the same page are intentionally left bare.

What I'm checking

Whether ReadMe's syntax highlighter recognizes the `brightscript` language identifier and renders the tagged block with highlighting (and/or with a "BrightScript" label in the code-block UI). The same page renders both the tagged block and 26 untagged blocks, providing an A/B comparison on a single rendered page.

Why it matters

There are ~1,300 unlabeled ``` code fences across `docs/DEVELOPER/` (588) and `docs/REFERENCES/` (717) that contain BrightScript samples. None of them carry a language identifier, so they all render as plain text. A repo-wide sweep to add ```brightscript would be the highest-leverage single PR for documentation rendering quality.

This test confirms the platform actually does something useful with the tag before scoping that sweep.

What to look at

Outcome

If staging shows visible BrightScript highlighting on the tagged block (or even just a "BrightScript" tab label) while the other 26 stay plain, the sweep is worth doing. If both render identically, the sweep is still worth doing for non-render reasons (lint enforcement, GitHub diff rendering, future platform migration), but the immediate user-facing benefit is smaller.

I'll close this PR once we have a result either way.

Tags the AppendString() example block in ifstringops.md with
```brightscript to test whether ReadMe's syntax highlighter
recognizes the language identifier and applies highlighting.

The other 26 code blocks on the same page are intentionally
left untagged, providing an A/B comparison on a single rendered page.

If staging renders the tagged block with BrightScript highlighting,
this validates the proposed repo-wide BrightScript fence sweep
(~1,300 unlabeled fences across DEVELOPER + REFERENCES).
@bblietz bblietz marked this pull request as ready for review May 16, 2026 21:16
@jduval23 jduval23 merged commit ed145be into rokudev:v2.0 May 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants