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 et css, 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.2.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.2.0
File Size Uploaded Provenance Actions
thonny_html_highlighter-1.2.0.tar.gz 10.1 kB Without provenance Details for thonny_html_highlighter-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 20.7 kB

Release files / thonny_html_highlighter-1.2.0.tar.gz

Download URL thonny_html_highlighter-1.2.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a7cb9d807c9cd13b3c76bb915d54e602be78f4accbe3f3b982bc4ea597fc5be4
BLAKE2b-256 checksum
How to use checksums
e2e5a5ffeaae3c658b50b5fc5aada444e575a41e31cf963bc767051f9a75d5b4
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.2.0-py3-none-any.whl

Download URL thonny_html_highlighter-1.2.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6142a61bb53881281fcbf7bc8749f1c88d9cc5292b2c07bd2309acc829b0c72
BLAKE2b-256 checksum
How to use checksums
839093c8c2f2da033fe85d74c13d1deb48796c04910a9f55b72fbae813cf7ffd
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.2.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