Open langalex opened 6 years ago
The default CSS potentially clashes with other CSS classes that might be present in an app. This allows you to specify a prefix:
tokens = CodeRay.scan 'x = 1', :ruby html = tokens.div(css_class_prefix: 'xyz-', css: :class) # => x = <span class="xyz-integer">1</span>
The default CSS potentially clashes with other CSS classes that might be present in an app. This allows you to specify a prefix: