Skip to content

Support for syntax highlighting in strings of embedded languages #49

Description

@jeswr

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions