https://github.com/zeplin/zeplin-prism-extras
Language extras for Prism ✏️
https://github.com/zeplin/zeplin-prism-extras
prismjs
Last synced: about 1 year ago
JSON representation
Language extras for Prism ✏️
- Host: GitHub
- URL: https://github.com/zeplin/zeplin-prism-extras
- Owner: zeplin
- License: mit
- Created: 2018-01-06T13:37:14.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-05-27T05:49:59.000Z (about 5 years ago)
- Last Synced: 2025-05-19T17:11:36.384Z (about 1 year ago)
- Topics: prismjs
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 8
- Watchers: 25
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zeplin-prism-extras
[Zeplin](https://zeplin.io)'s language extras for [Prism](https://github.com/PrismJS/prism). ✏️
## Extras
### CSS, Sass, SCSS, Less, Stylus
- Built-ins
- Hexadecimal colors
- Numbers (with units)
### Swift
- More @ rules (`objcMembers`, `nonobjc`, `discardableResult`).
- Adjusts class regular expression to avoid class functions and variables.
### Objective-C
- Built-ins, for types with a framework prefix.
- More keywords (`_Nonnull`, `_Nullable`, `_Null_unspecified`).
### XML
- Separates XML from Markup, removing style attributes defined on CSS.