Outils pour utilisateurs

Outils du site


tech:notes_web

Notes web

Coloration syntaxique

La coloration syntaxique de la note précédente a été faite avec pygmentize. Par exemple:

pygmentize -f html -l cpp -o code.html code

Pour récupérer le style CSS:

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

tech/notes_web.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki