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.dev1

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.dev1
File Size Uploaded
rbtr_lang_html-2026.9.0.dev1.tar.gz 8.8 kB Details

Built distribution (wheel)

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

Total release size: 23.4 kB

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

Download URL rbtr_lang_html-2026.9.0.dev1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
643dce845c7cdf8665bb33e224cf4d911dceb2ac5b8319bff994c20087953d30
BLAKE2b-256 checksum
How to use checksums
ff47a483607f67eac3ad2e867d6998597a5977da37fb731c4af5e5bef1cd93bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rbtr_lang_html-2026.9.0.dev1-py3-none-any.whl

Download URL rbtr_lang_html-2026.9.0.dev1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c096807a5650cc024ce84a4d7faea712b3f3d3b77e33e841cb5d8bb93ac2c12
BLAKE2b-256 checksum
How to use checksums
b76fe33b293c0b806fdcde5707fb0724542b992483de4da6f256141f61675899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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