Skip to content

Commit 198cca7

Browse files
committed
refine markdown styles
1 parent 70b9105 commit 198cca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/helpers/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export function replaceNewLine(text) {
349349
* @returns {string}
350350
*/
351351
export function replaceMarkdown(text) {
352-
let res = text.replace(/#([\s]+)/g, '\\# ').replace(/[-|=]{3,}/g, '@@@');
352+
let res = text.replace(/#([\s]+)/g, '\\# ').replace(/^-\s*/gm, '• ').replace(/[-|=]{3,}/g, '@@@');
353353

354354
let regex1 = new RegExp('\\*(.*)\\*', 'g');
355355
let regex2 = new RegExp('\\*([\\*]+)\\*', 'g');

src/lib/scss/custom/components/_markdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343

4444
ul {
45-
list-style-position: inside !important;
45+
list-style-position: outside !important;
4646
}
4747
}
4848

0 commit comments

Comments
 (0)