mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-08 06:42:56 -04:00
post aliases
This commit is contained in:
parent
23a8d1f0ae
commit
e8ed48eecd
7 changed files with 7 additions and 4 deletions
|
@ -156,7 +156,7 @@ class Converter:
|
|||
|
||||
# List glossary entries that appear in the Markdown content
|
||||
glossary_entries = set()
|
||||
for match in re.findall(r'\[.*?\]\((?:|/fr)/glossary\/?#(.*?)\)', markdown_content):
|
||||
for match in re.findall(r'\[.*?\]\((?:|/fr)(?:|/ru)(?:|/el)/glossary\/?#(.*?)\)', markdown_content):
|
||||
glossary_entries.add(slugify.slugify(match))
|
||||
|
||||
# Add glossary entries to the Markdown content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue