Open egoist opened 6 years ago
https://github.com/kentcdodds/babel-macros
import vmark from 'vmark/macro' const post = vmark` # hello <gallery src="foo.png" /> ` // ===> const post = { render() { /* ... */ } }
https://github.com/kentcdodds/babel-macros