First blog post, added theming
All checks were successful
Build blog / build (push) Successful in 1s
All checks were successful
Build blog / build (push) Successful in 1s
Coffee-themed, font changes and a first post.
This commit is contained in:
8
build.py
8
build.py
@@ -64,7 +64,13 @@ def parse(path):
|
||||
"date": when,
|
||||
"topic": rel.parts[0] if len(rel.parts) > 1 else meta.get("topic"),
|
||||
"slug": slugify(meta.get("slug") or re.sub(r"^\d{4}-\d{2}-\d{2}-", "", path.stem)),
|
||||
"body": markdown.markdown(text, extensions=["fenced_code", "tables", "footnotes"]),
|
||||
"body": markdown.markdown(
|
||||
text,
|
||||
extensions=[
|
||||
"fenced_code", "tables", "footnotes", "codehilite", "abbr",
|
||||
],
|
||||
extension_configs={"codehilite": {"guess_lang": False}},
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user