Skip to content

Commit 10f9492

Browse files
committed
chore: change syntax highlighting style, make code clearer
1 parent efccf4d commit 10f9492

File tree

1 file changed

+2
-2
lines changed
  • pages/packages/[package]/versions/[version]/topics

1 file changed

+2
-2
lines changed

pages/packages/[package]/versions/[version]/topics/[topic].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useRouter } from 'next/router';
44
import { useMemo } from 'react';
55
import ReactGA from 'react-ga';
66
import SyntaxHighlighter from 'react-syntax-highlighter';
7-
import ocean from 'react-syntax-highlighter/dist/cjs/styles/hljs/ocean.js';
7+
import sunburst from 'react-syntax-highlighter/dist/cjs/styles/hljs/sunburst.js';
88

99
import Html from '../../../../../../components/Html';
1010
import Layout from '../../../../../../components/Layout';
@@ -183,7 +183,7 @@ export default function TopicPage({ topicData }: Props) {
183183
Run this code
184184
</a>
185185
<div>
186-
<SyntaxHighlighter language="r" style={ocean}>
186+
<SyntaxHighlighter language="r" style={sunburst}>
187187
{examples}
188188
</SyntaxHighlighter>
189189
</div>

0 commit comments

Comments
 (0)