You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'd like to make some substantial improvements to the SAS language support. I've got a draft commit ready, but I'm having trouble with the "rest:" option. I can always leave it out for now, but if someone could give me some help here, I hope to get that working, add a test for it, and get a pull request in for the changes I've made.
Code snippet
My intention here is to capture "PROC SQL;" followed by any text up to and including the next "PROC \w", "QUIT", "RUN" or "DATA". The code that follows is what I have thus far. It does capture the text as expected, but it does not apply SQL syntax highlighting to the text after the "step".
@cedporter The problem isn't rest but Prism.languages.sql. Prism always tries to load as few languages as possible, so Prism.languages.sql is simply undefined.
You need to add a dependency for SQL in components.json using require (similar to how SASS requires CSS below). This should solve your problem.
Information
Description
I'd like to make some substantial improvements to the SAS language support. I've got a draft commit ready, but I'm having trouble with the "rest:" option. I can always leave it out for now, but if someone could give me some help here, I hope to get that working, add a test for it, and get a pull request in for the changes I've made.
Code snippet
My intention here is to capture "PROC SQL;" followed by any text up to and including the next "PROC \w", "QUIT", "RUN" or "DATA". The code that follows is what I have thus far. It does capture the text as expected, but it does not apply SQL syntax highlighting to the text after the "step".
The text was updated successfully, but these errors were encountered: