'python', 'label' => 'Python', 'icon' => 'fab fa-python', 'color' => '#ffffff', 'background' => '#FFD43B', 'description' => 'Fichier contenant du langage Python', 'fromExtension' => array('py'), 'toExtension' => 'py', 'default' => 'print("Hello python")', ); } /* EDITION */ public static function toHtml($resource,$sketch=null){ $infos = self::manifest(); return array( 'html'=>'', 'javascript' => " hackpoint_resource_mirrorify('.arduino-text',{ mode : 'python', lineNumbers : true, theme : 'monokai', readOnly : false }); " ); } } ?>