From ea706d2830384b898b4899c84e56a43f188865a2 Mon Sep 17 00:00:00 2001 From: endiliey Date: Sat, 11 Aug 2018 16:29:52 +0800 Subject: [PATCH] feat: hash the webpack-compiled js file --- docs/highlight.md | 31 +++++++++++++++++++++++++++++++ lib/webpack/base.js | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 docs/highlight.md diff --git a/docs/highlight.md b/docs/highlight.md new file mode 100644 index 0000000000..8fb83f8423 --- /dev/null +++ b/docs/highlight.md @@ -0,0 +1,31 @@ +--- +id: highlight +title: Syntax highlighting demo +--- + +```cpp +#include +using namespace std; + +int main() { + cout << "Hello world\n"; + return 0; +} + +``` + +```js +class Example extends React.Component { + render() { + return ( + + Docusaurus +