From 9afddccc5163170ef09a9449098ebdc485fb8212 Mon Sep 17 00:00:00 2001 From: raven Date: Sat, 24 Oct 2026 18:42:09 -0500 Subject: add markdown element things in this element are rendered in the nasin nanpa font and are converted into SP using ligatures --- apioforum/mdrender.py | 1 + apioforum/static/style.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py index 886000c..0352be5 100644 --- a/apioforum/mdrender.py +++ b/apioforum/mdrender.py @@ -17,6 +17,7 @@ allowed_tags = [ 'img', 'marquee', 'pulsate', + 'sitelen', 'sup','sub', 'table','thead','tbody','tr','th','td', 'details','summary', diff --git a/apioforum/static/style.css b/apioforum/static/style.css index 3f07d9e..04586b3 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -514,6 +514,10 @@ textarea { font-family: monospace, nasin-nanpa; } +sitelen { + font-family: nasin-nanpa; +} + @font-face { font-family: nasin-nanpa; src: local(nasin-nanpa), url("nasin-nanpa.otf") format("opentype"); -- cgit v1.2.3