vault backup: 2025-12-10 07:19:22
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m59s
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m59s
This commit is contained in:
@@ -97,6 +97,10 @@ def main(root: Path, out: Path):
|
||||
question_md = question.strip()
|
||||
answer_md = answer.strip()
|
||||
|
||||
question_md = question_md.replace("**Uppgift**", "")
|
||||
question_md = question_md.replace("**Rätt svar**", "")
|
||||
question_md = question_md.replace("**Svar**", "")
|
||||
question_md = question_md.replace("**Answer**", "")
|
||||
# Render question and answer markdown to HTML. Enable common extensions.
|
||||
question_html = markdown(question_md, extensions=["fenced_code", "tables"])
|
||||
answer_html = markdown(answer_md, extensions=["fenced_code", "tables"])
|
||||
|
||||
Reference in New Issue
Block a user