Outils pour utilisateurs

Outils du site


tech:notes_web

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_web [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_web [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon}}
 +
 +# Notes web
 +
 +## Coloration syntaxique
 +
 +La coloration syntaxique de la note précédente a été faite avec pygmentize. Par exemple:
 +
 +~~~bash
 +pygmentize -f html -l cpp -o code.html code
 +~~~
 +
 +Pour récupérer le style CSS:
 +~~~bash
 +pygmentize -f html -S colorful
 +~~~
 +
 +
 +## web worker / worker API / consumers
 +
 +Three parties :
 +* The **web worker** is responsible for running scripts in its own separate thread.
 +* The **worker API** exposes a consumer-to-provider communication interface.
 +* The **consumers** want to run some scripts outside the main thread, so they don’t block the main thread.
 +
 +Source : https://pyodide.org/en/stable/usage/webworker.html
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki