rbtr-lang-html
HTML support for rbtr. A default plugin — installed with rbtr
itself (pip install rbtr).
What it ingests
- Sections — major
<body>elements (<main>,<article>,<nav>, …) → doc sections, named by theirid(else the tag name). - Imports —
<script src>and<link href>→ import chunks carrying the referenced path and a language hint, so edges link to the target file.
Chunks produced
<main id="content">…</main> <!-- doc_section "content" -->
<nav>…</nav> <!-- doc_section "nav" -->
<script src="app.js"></script> <!-- import {module: app.js, hint: javascript} -->
<link rel="stylesheet" href="a.css"> <!-- import {module: a.css, hint: css} -->
Embedded / injected chunks
HTML embeds other languages: an inline <script> delegates to JavaScript and
an inline <style> to CSS, so their chunks extract at real line numbers
within the page, each carrying its own language.
<main id="app"> <!-- doc_section "app" (html) -->
<script>
function boot() { start(); } <!-- function "boot" (javascript) -->
</script>
<style>
.hero { color: crimson; } <!-- class ".hero" (css) -->
</style>
</main>
Grammar & dependencies
Uses the tree-sitter-html grammar. No runtime dependency on other language
plugins; the test suite dev-depends on rbtr-lang-javascript and
rbtr-lang-css so the sample's linked and injected js/css extract and the
cross-file edges snapshot.
Metadata
Release files for rbtr-lang-html 2026.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_html-2026.9.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_html-2026.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.3 kB
Release files / rbtr_lang_html-2026.9.0.tar.gz
| Download URL | rbtr_lang_html-2026.9.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31bbf779cfa41fc3cc11084d9933873c558b73946309bb2232faa7ee204d04e7
|
|
BLAKE2b-256 checksum How to use checksums |
cba5e72a331e218f35e064ccfa036e2f2333b9397708b92a87120730d99da415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rbtr_lang_html-2026.9.0-py3-none-any.whl
| Download URL | rbtr_lang_html-2026.9.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a14d12578236f2443d743f66c35052b16f4fe842c00e496293072de6dbcc6a6b
|
|
BLAKE2b-256 checksum How to use checksums |
17edb54a22e7a7e323c9b99162027fa63fc13bf80e301ebc3941eaa244b9955f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|