Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg: add attribute style #1256

Merged
merged 1 commit into from Jan 2, 2018
Merged

pkg: add attribute style #1256

merged 1 commit into from Jan 2, 2018

Conversation

ZhouHansen
Copy link
Contributor

No description provided.

@mAAdhaTTah
Copy link
Member

What's the purpose / need for this

@ZhouHansen
Copy link
Contributor Author

ZhouHansen commented Dec 31, 2017

I'm using a browserify style transform sheetify, now:

var css = require('sheetify')
css('prismjs/themes/prism.css')

after add attribute "style": "themes/prism.css":

var css = require('sheetify')
css('prismjs')

sheetify "resolves" module that targets CSS instead of JavaScript by the style attribute.

@Golmote Golmote mentioned this pull request Jan 2, 2018
@Golmote
Copy link
Contributor

Golmote commented Jan 2, 2018

The change looks quite harmless. Even if it does not address the different themes, it can be a nice shortcut to access the default theme.

@Golmote Golmote merged commit a9b6785 into PrismJS:gh-pages Jan 2, 2018
@ZhouHansen ZhouHansen deleted the master branch January 2, 2018 11:14
papandreou added a commit to papandreou/prism that referenced this pull request Jan 29, 2018
* gh-pages: (326 commits)
  Add C++ platform-independent types (PrismJS#1271)
  Release 1.10.0
  Unescaped markup plugin: Make it work with any language (PrismJS#1265)
  Previewers: New plugin combining previous plugins Previewer: Base, Previewer: Angle, Previewer: Color, Previewer: Easing, Previewer: Gradient and Previewer: Time. Fix PrismJS#913 (PrismJS#1244)
  Add Elm (elm-lang.org) support (PrismJS#1174)
  IchigoJam: Remove unneeded escape
  Run gulp
  add Io syntax (PrismJS#1251)
  package.json: add attribute `style` (PrismJS#1256)
  Add the C++11 raw string feature to the cpp language
  IchigoJam: Make strings greedy
  BASIC: Make strings greedy
  Run gulp
  Add support for IchigoJam BASIC (PrismJS#1246)
  Add support for 6502 assembly (PrismJS#1245)
  fix for autoloader plugin
  Run gulp and reorder components alphabetically
  Xeora Language implementation (PrismJS#1239)
  upgrade autoloader
  Release 1.9.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants