PrismJS VS Code Dark Theme
This blog post is used to test the PrismJS VS Code dark theme that this blog uses.
A lot of attention to detail around JSX
, JavaScript
, TypeScript
and HTML
has been carefully crafted to match VS Code. Lot of random ugly hacky CSS is used to handle most of the common uses cases in JSX
.
import * as foo from '@foo/bar'
import foo from '@foo/bar'
import { foo } from '@foo/bar'
export default class foo extends something {
func() {
// testing
/* testing */
const foo = 'bar';
let bar = true;
var test = { object: "test" };
var jar = 2;
var a = () => { return 'test'; };
var b = function() { return 'test'; };
var b = function foo() { return 'test'; };
return (
<Test foo={'test'}
bar={true}
test={{ object: "test" }}
jar={2}/>
<a href="#">Test</a>
)
}
}