mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
Fix css syntax highlighting conflict with bulma title
This commit is contained in:
@@ -30,6 +30,7 @@ import JavaHttpServer from "./__resources__/HttpServer.java";
|
||||
import GoHttpServer from "./__resources__/HttpServer.go";
|
||||
import JsHttpServer from "./__resources__/HttpServer.js";
|
||||
import PyHttpServer from "./__resources__/HttpServer.py";
|
||||
import Markdown from "./__resources__/test-page.md";
|
||||
|
||||
const Spacing = styled.div`
|
||||
padding: 1em;
|
||||
@@ -56,6 +57,11 @@ storiesOf("SyntaxHighlighter", module)
|
||||
<SyntaxHighlighter language="python" value={PyHttpServer} />
|
||||
</Spacing>
|
||||
))
|
||||
.add("Markdown", () => (
|
||||
<Spacing>
|
||||
<SyntaxHighlighter language="markdown" value={Markdown} />
|
||||
</Spacing>
|
||||
))
|
||||
.add("Without line numbers", () => (
|
||||
<Spacing>
|
||||
<SyntaxHighlighter language="java" value={JavaHttpServer} showLineNumbers={false} />
|
||||
|
||||
Reference in New Issue
Block a user