react-use-c
react-use-c copied to clipboard
Use template literals
The c code should compile within template literals.
const output = c_lang`
#include <stdio.h>
int main()
{
....
}
...
`