Skip to content

jaredh159/x-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-syntax

Simple passthrough tagged template literal function for getting vscode syntax highlighting. Import the function using a variable name like css or graphql to get highlighting:

import css from 'x-syntax';

const myCss = css`
  body {
    display: none;
  }
`;
import graphql from 'x-syntax';

const query = graphql`
  mutation CreateDownload($data: DownloadInput!) {
    result: createDownload(data: $data) {
      _id
    }
  }
`;

About

passthrough tagged template literal for getting vscode syntax highlighting

Resources

Stars

Watchers

Forks

Packages

No packages published