From 00fa9f4da22771c03073eb4e8c6b7bc488cff9a6 Mon Sep 17 00:00:00 2001
From: end-4 <97237370+end-4@users.noreply.github.com>
Date: Tue, 6 Feb 2024 09:25:25 +0700
Subject: [PATCH] stop using fancy bullet points (#239)
---
.config/ags/lib/md2pango.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.config/ags/lib/md2pango.js b/.config/ags/lib/md2pango.js
index ec94dd1f0..f218d2b9f 100644
--- a/.config/ags/lib/md2pango.js
+++ b/.config/ags/lib/md2pango.js
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: 2021 Uwe Jugel
// SPDX-License-Identifier: MIT
// This file is part of md2pango (https://github.com/ubunatic/md2pango).
+// -- Modified btw --
const monospaceFonts = 'JetBrains Mono NF, JetBrains Mono Nerd Font, JetBrains Mono NL, SpaceMono NF, SpaceMono Nerd Font, monospace'
@@ -17,8 +18,8 @@ const m2p_sections = [
sub_h3 = { name: H3, re: /^(###\s+)(.*)(\s*)$/, sub: "$2" },
sub_h4 = { name: H4, re: /^(####\s+)(.*)(\s*)$/, sub: "$2" },
sub_h5 = { name: H5, re: /^(#####\s+)(.*)(\s*)$/, sub: "$2" },
- { name: BULLET, re: /^(\s*)([\*\-]\s)(.*)(\s*)$/, sub: "$1• $3" },
- { name: NUMBERING, re: /^(\s*[0-9]+\.\s)(.*)(\s*)$/, sub: " $1$2" },
+ { name: BULLET, re: /^(\s*)([\*\-]\s)(.*)(\s*)$/, sub: "$1- $3" },
+ { name: NUMBERING, re: /^(\s*[0-9]+\.\s)(.*)(\s*)$/, sub: " $1- $2" },
]
// m2p_styles defines how to replace inline styled text