Merge branch 'prism' into 'master'

A basic integration of the prism library.

See merge request agaric/sites/agaric-com!50
This commit is contained in:
mlncn 2019-01-15 18:16:33 +00:00
commit 80da91b259
2 changed files with 9 additions and 0 deletions

View file

@ -27,6 +27,7 @@ regions:
libraries: libraries:
- agarica/global - agarica/global
- agarica/prism
# This section is used by the contrib module, Component Libraries. It allows you # This section is used by the contrib module, Component Libraries. It allows you
# to reference .twig files in your sass/ directory by using the Twig namespace: # to reference .twig files in your sass/ directory by using the Twig namespace:

View file

@ -17,3 +17,11 @@ global:
https://unpkg.com/ionicons@4.5.0/dist/ionicons.js: {} https://unpkg.com/ionicons@4.5.0/dist/ionicons.js: {}
dependencies: dependencies:
- octavia/global - octavia/global
prism:
version: 1.15.0
css:
theme:
patternlibrary/agaric/css/prism.css: {}
js:
patternlibrary/agaric/js/prism.js: {}