An open API service indexing awesome lists of open source software.

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 ✏️

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.