Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.3.0 instead.

Thonny HTML Highlighter

Plugin pour Thonny ajoutant la coloration syntaxique pour les fichiers HTML, avec prise en charge du CSS et du JavaScript intégrés. Ajout d'un bouton pour lancer le code html dans le navigateur.

Fonctionnalités

Le plugin permet de mieux distinguer les différents éléments d'une page HTML :

  • balises HTML
  • noms des balises
  • attributs HTML
  • valeurs des attributs
  • commentaires HTML
  • sélecteurs CSS
  • propriétés CSS
  • valeurs CSS
  • commentaires CSS
  • mots-clés JavaScript
  • chaînes de caractères JavaScript
  • commentaires JavaScript
  • objets JavaScript
  • méthodes JavaScript
  • nombres JavaScript

La coloration fonctionne également pour le CSS contenu dans les balises <style> et le JavaScript contenu dans les balises <script>.

Exemple

Un code comme :

<!DOCTYPE html>
<html>
<head>
    <style>
        body {
            background-color: lightblue;
        }
    </style>
</head>

<body>
    <h1 class="titre">Bonjour</h1>

    <script>
        let message = "Bonjour !";
        console.log(message);
    </script>
</body>
</html>

est automatiquement coloré dans l'éditeur de Thonny.

Installation

Depuis Thonny

Le plugin peut être installé directement depuis :

Outils → Gérer les plugins

Rechercher :

thonny-html-highlighter

Puis installer le plugin et redémarrer Thonny si nécessaire.

Avec pip

Il est également possible de l'installer avec :

pip install thonny-html-highlighter

Le plugin nécessite Thonny 5.0.0 ou une version ultérieure.

Compatibilité

  • Thonny : >= 5.0.0
  • Python : >= 3.10
  • Windows, Linux et macOS

Fonctionnement

Le plugin utilise le système d'extensions de Thonny et s'intègre directement à l'éditeur de code.

Il détecte automatiquement les éléments HTML ainsi que les blocs CSS et JavaScript présents dans une page HTML.

Le plugin ne modifie pas le fichier source : il agit uniquement sur l'affichage du code dans l'éditeur.

Auteur

Pierre Lemaitre

Metadata

Release files for thonny-html-highlighter 1.1.0

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

Source distribution (sdist)

Source distribution for thonny-html-highlighter 1.1.0
File Size Uploaded Provenance Actions
thonny_html_highlighter-1.1.0.tar.gz 8.9 kB Without provenance Details for thonny_html_highlighter-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thonny-html-highlighter 1.1.0
File Interpreter ABI Platform Actions
thonny_html_highlighter-1.1.0-py3-none-any.whl Python 3 none any Details for thonny_html_highlighter-1.1.0-py3-none-any.whl

Total release size: 18.2 kB

Release files / thonny_html_highlighter-1.1.0.tar.gz

Download URL thonny_html_highlighter-1.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33ac8fb38030ebca306d33c34db3cd56b5166c6f29154418bf4acf3bb0c7843a
BLAKE2b-256 checksum
How to use checksums
e701b05611e2f78d8ea6623eea892326a8969cc624e737ff9a295d07731ab8e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / thonny_html_highlighter-1.1.0-py3-none-any.whl

Download URL thonny_html_highlighter-1.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d839ce1b85a738c6f4e919bfefc1a18e34f1fac313e4e66fefd8919c79ef920f
BLAKE2b-256 checksum
How to use checksums
ae04c4eac87cbd16b81c99f3d0da42467bf96a41ef4776c91b0a8349eaeedc99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for thonny-html-highlighter 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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