diff --git a/example/src/components/CodeExamples.js b/example/src/components/CodeExamples.js index a109269..58810f1 100644 --- a/example/src/components/CodeExamples.js +++ b/example/src/components/CodeExamples.js @@ -17,7 +17,6 @@ export default function CodeExamples() { `} -
@@ -42,6 +41,37 @@ import { Code } from 'watson-react-components';
See the PrismJS website for a list of available languages.
+
+{`
+
+ - foo
+ - bar
+
+`}
+
+ To enable line numbers, add lineNumbers
attribute
+{`
+{\`
+
+ - foo
+ - bar
+
+\`}
+
+`}
+