Add scripting-language extraction coverage#57
Open
janrito wants to merge 1 commit into
Open
Conversation
Expand bash, javascript (js, ts, tsx), and ruby to full query coverage with extraction cases, inline tests, and samples, and add rst prose samples. Include an html sample and cover markdown-to-javascript injection delegation.
This was referenced Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close construct-coverage gaps for bash, javascript (js/ts/tsx), and ruby, and
add prose and markup fixtures.
Same audit as the compiled languages. The notable item is a correctness fix:
.tsxfiles were routed to the plain TypeScript grammar, which fails on JSXand extracted nothing — they now use the TSX grammar. Alongside that, this
brings the three to full coverage (TS
interface/enum, bashaliasnamesvia the engine's
name_extractor, ruby constructs) with cases, inline tests,and samples, adds rst prose samples, and adds an html sample. It also adds an
inline test that a Markdown fenced block delegates through to embedded
javascript, exercising the injection path across two hops (markdown → html →
js).
Pinned by snapshots and extraction cases; the injection case is an inline
delegation test.
Stacked PRs (merge bottom → top): #54 · #55 · #56 · #57 · #58 · #59 · #60