'How to get the code only from PrismJS and store in a variable?
I want to know how can I get only the code without syntax highlighter and store it in a JavaScript variable? Actually, I am using an API that can run my code. But I have to add a "Run Code" button and clicking the button will send to the compiler page. it will get the code as the get method.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
