PHP Classes

File: assets/js/highlight.js

Recommend this page to a friend!
  Classes of Manolo Salsas  >  Symfony Create Bundle Skeleton  >  assets/js/highlight.js  >  Download  
File: assets/js/highlight.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 2 years ago
Size: 254 bytes


Class file image Download
import hljs from 'highlight.js/lib/highlight'; import php from 'highlight.js/lib/languages/php'; import twig from 'highlight.js/lib/languages/twig'; hljs.registerLanguage('php', php); hljs.registerLanguage('twig', twig); hljs.initHighlightingOnLoad();