Highlight your Serbea template code!
Besides syntax highlighting of *.serb
files, it comes with two palette commands:
- Convert Selection from ERB to Serbea
- Convert Selection from Serbea expression to pipeline
There's also a Serbea Markdown (Ruby) language so you can write Markdown with embedded Serbea code (as is typical in Bridgetown projects).
Also, if you're using the VSCode Icons package, add this to your settings.json
:
"vsicons.associations.files": [
{
"icon": "erb",
"extensions": ["serb"],
"format": "svg"
}
]
File a bug report or feature request and we'll take a look.