Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for syntax highlighting in strings of embedded languages #49

Open
jeswr opened this issue Mar 23, 2023 · 0 comments
Open

Support for syntax highlighting in strings of embedded languages #49

jeswr opened this issue Mar 23, 2023 · 0 comments

Comments

@jeswr
Copy link

jeswr commented Mar 23, 2023

It would be nice to have support for syntax highlighting of SPARQL/RDF that appears as a string inside another file (in my case the main use would be for JavasScript / Typescript). In particular I'd like the following syntax to have the string highltighted with ttl syntax higlighting

const myTurtleString = /*ttl*/`
@prefix : <http://example.org/> .

:s :p :o .
`.

This can be achieved using embedded languages in vscode - see:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant