Skip to content

Commit 9b2b220

Browse files
committed
break word in pre
1 parent c4daebc commit 9b2b220

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

assets/user-styles.css

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ code {
7676

7777
pre {
7878
white-space: pre-wrap;
79+
word-wrap: break-word;
7980
}
8081

8182
/* dark/light mode toggle button */

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="markdown-pages.js - simple Markdown-based static sites, without the generator">
88
<title>markdown-pages.js</title>
99
<link rel="shortcut icon" type="image/png" href="assets/images/favicon.png"/>
10-
<link rel="stylesheet" href="assets/user-styles.css?v=2" />
10+
<link rel="stylesheet" href="assets/user-styles.css?v=3" />
1111
<!---- adding markdown-page.js file ---->
1212
<script src="markdown-pages.js"></script>
1313
</head>
@@ -16,6 +16,6 @@
1616
<header></header>
1717
<main></main>
1818
<footer></footer>
19-
<script src="assets/user-scripts.js?v=2"></script>
19+
<script src="assets/user-scripts.js?v=3"></script>
2020
</body>
2121
</html>

0 commit comments

Comments
 (0)