Blog: post 6 "Accommodation" now trilingual (MK/SI AI-drafted)
Add Macedonian and Slovenian versions of the accommodation post (AI-drafted, flagged for native review), rebuild EN with a proper Student Welcome Guide link and a real Sources section, and add MK/SI blog index cards. Converter now treats a secondary "# Sources" heading as a section. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c7481ca998
commit
3fed4db226
6 files changed
+893
-3
No files matched your search
@@ -82,6 +82,8 @@ def parse_markdown(md):
|
||||
break
|
||||
else:
|
||||
body_lines = lines
|
||||
# Any further level-1 heading (e.g. "# Sources") becomes a real section.
|
||||
body_lines = [("## " + ln[2:]) if ln.startswith("# ") else ln for ln in body_lines]
|
||||
|
||||
sections = [] # list of dict(id, heading, blocks[])
|
||||
cur = {"id": "", "heading": None, "blocks": []}
|
||||
|
||||
Reference in new issue
Block a user