You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
is there any solution for this problem. Need syntax highlightning for css and sass. prismedContent = Prism.highlight(this.responseText, Prism.languages['html']);
seems to me that everything is highlighted as html
I documented my efforts so far above. I would like to get back to figuring this out but it is not a current priority. Hoping someone else can take the reigns on it.
@simonpioli I'm trying to implement this - was there any reason you stopped where you did? Did you have it working? It would be such a nice feature to have
I only managed to get it working by manually concatenating the languages I wanted from Prism into our styleguidekit before using them so the solution ended up being external to this project.
I haven't got round to porting it back to this repo and refactoring it to use the config.
@thomasbruketta Unfortunately the repos are in work's private BitBucket account.
I'll have to take a look through and make sure there's no API keys etc before I stick them on here.
Activity
bmuenzenmeyer commentedon Dec 21, 2016
pattern-lab/styleguidekit-assets-default#14
AxelHo commentedon Jan 31, 2017
is there any solution for this problem. Need syntax highlightning for css and sass.
prismedContent = Prism.highlight(this.responseText, Prism.languages['html']);seems to me that everything is highlighted as html
bmuenzenmeyer commentedon Feb 1, 2017
I documented my efforts so far above. I would like to get back to figuring this out but it is not a current priority. Hoping someone else can take the reigns on it.
pattern-lab#5 - Wonder if it’s as simple as replacing this string…?
pattern-lab#5 - Add the language too?
pattern-lab#5 - Found that the styleguide has hard-coded language in it
pattern-lab#5 - Temporarily change SCSS to CSS for Prism
Revert "pattern-lab#5 - Temporarily change SCSS to CSS for Prism"
Revert "Revert "pattern-lab#5 - Temporarily change SCSS to CSS for Pr…
pattern-lab#5 - Corrected the Sass language
jefarrell commentedon Mar 20, 2018
@simonpioli I'm trying to implement this - was there any reason you stopped where you did? Did you have it working? It would be such a nice feature to have
simonpioli commentedon Mar 24, 2018
I only managed to get it working by manually concatenating the languages I wanted from Prism into our styleguidekit before using them so the solution ended up being external to this project.
I haven't got round to porting it back to this repo and refactoring it to use the config.
thomasbruketta commentedon Mar 26, 2018
@simonpioli can you send a link to that repo for reference? Or perhaps post of gist of the changes?
simonpioli commentedon Mar 27, 2018
@thomasbruketta Unfortunately the repos are in work's private BitBucket account.
I'll have to take a look through and make sure there's no API keys etc before I stick them on here.
Adds highlighting language data into snippets
Updates viewer to allow better Prism highlighting
Implements a helper for dynamically loading Prism languages