Hey, I'm using doom-emacs and am trying to get syntax highlighting for the most part (I can manage without auto complete) on string literals that stores css / gql, for example this piece of code.
const Wrapper = styled.div`
width: 24px;
height: 24px;
margin-right: 14px;
cursor: pointer;
`
​
export const schema = gql.gql`
type Transaction implements Entity {
createdAt: Date
createdBy: User
entityType: EntityType!
fileIds: [ID!]!
}`
​
Now I saw some people are using polymode and mmm, I was not able to make it to work properly, I could make it highlight the code but it was not possible to write anything inside the string itself.
When I think about this, it's already happening with other languages like org-mode that can show syntax highlighting inside it's code blocks and even on js/ts files when you're doing the following:
`this is a template string with a variable ${a == b ? 'this gets syntax highlighting' : 'so why styled cant??'}`
Any help would be much appreciated.