From 27c40ce0c5f1ebcd33c718a6ada014858d58d1f0 Mon Sep 17 00:00:00 2001 From: xieby1 Date: Wed, 8 Nov 2023 11:27:45 +0800 Subject: [PATCH] add hyperlink for category(term) in meta.md --- src/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.py b/src/lib.py index e92d7e5..4308893 100644 --- a/src/lib.py +++ b/src/lib.py @@ -1438,7 +1438,7 @@ def outputMetaMd() -> None: if transor.dev != Dev.NONE: metamd.write("* **Development**: %s\n" % transor.dev) if transor.term != Term.UNKNOWN: - metamd.write("* **Category**: %s\n" % term2str(transor.term)) + metamd.write("* **Category**: [%s](../list/byTerm/%s.md)\n" % (term2str(transor.term), transor.term.name)) if transor.parent: metamd.write("* **Parent**: [%s](../%s/index.md)\n" % (transor.parent.name, _canonicalize_folder_name(transor.parent.name)))