You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an option that the user can choose themes when checking code.
The default should be require('../node_modules/prismjs/themes/prism.css')
You can add different themes in a object and user can choose from them e.g
// Can add this function to main.jsconstchooseTheme={default: require('../node_modules/prismjs/themes/prism.css'),okadia: require('../node_modules/prismjs/themes/prism-okaidia.css')}
See an example screenshot of the firebase code snippet Link
The text was updated successfully, but these errors were encountered:
require('../node_modules/prismjs/themes/prism.css')
The text was updated successfully, but these errors were encountered: