Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 their id (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.dev3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbtr-lang-html 2026.9.0.dev3
File Size Uploaded
rbtr_lang_html-2026.9.0.dev3.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-html 2026.9.0.dev3
File Interpreter ABI Platform
rbtr_lang_html-2026.9.0.dev3-py3-none-any.whl Python 3 none any Details

Total release size: 23.4 kB

Release files / rbtr_lang_html-2026.9.0.dev3.tar.gz

Download URL rbtr_lang_html-2026.9.0.dev3.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4fc9b90954f4ab8c6951f2cef5dbedf4b43e6b84e297c4644bc44db8cc6c7e4
BLAKE2b-256 checksum
How to use checksums
922963403be4c4cd2cd8178c48b66419aa299474e1f59c7eed2a9b86296b84f3
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.dev3-py3-none-any.whl

Download URL rbtr_lang_html-2026.9.0.dev3-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98648dc105d7239c52c94e55c2b1eb5cdfded34bc01b182869c1490287e13167
BLAKE2b-256 checksum
How to use checksums
a5c72eb3063678c5ef340fc65ff911fd3b789ded1af6cc5957f7cecfa78bdb37
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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page