From be545404f29cebd185bdf6dc683836188e49d26c Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 28 May 2024 17:20:52 +0800 Subject: [PATCH] Update Gmeek.py --- Gmeek.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gmeek.py b/Gmeek.py index 1e22b0b..a2f4454 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -139,7 +139,7 @@ class GMEEK(): issue["script"]=issue["script"]+'' if '

' in post_body: - issue["style"]=issue["style"]+'.markdown-alert{padding:0.5rem 1rem;margin-bottom:1rem;border-left:.25em solid var(--borderColor-default,var(--color-border-default));}.markdown-alert .markdown-alert-title {display:flex;font-weight:var(--base-text-weight-medium,500);align-items:center;line-height:1;}.markdown-alert>:first-child {margin-top:0;}.markdown-alert>:last-child {margin-bottom:0;}' + issue["style"]=issue["style"]+'' alerts = { 'note': 'accent', 'tip': 'success', @@ -151,11 +151,11 @@ class GMEEK(): for alert, style in alerts.items(): if f'markdown-alert-{alert}' in post_body: issue["style"] += ( - f'.markdown-alert.markdown-alert-{alert} {{' + f'' ) postBase["postTitle"]=issue["postTitle"]