Skip to content

Commit

Permalink
pluralise style
Browse files Browse the repository at this point in the history
  • Loading branch information
Sup2point0 authored Apr 2, 2024
1 parent 3e863ca commit 5dd2bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quarkdown/quarkify.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def export(file: ContentFile) -> dict:
content = textualise.render_html(content)
content = textualise.clear_comments(content)

style = "\n".join(
styles = "\n".join(
f'''<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/Quarkdown/main/quarkdown/resources/{style}.css">'''
for style in load.get("style", ["default"])
)
Expand All @@ -45,7 +45,7 @@ def export(file: ContentFile) -> dict:

with open(path) as source:
content = source.read().format(
style = style,
styles = styles,
darkness = load.get("polarity", "light") == "dark",
header = load.get("header", ""),
content = content,
Expand Down

0 comments on commit 5dd2bab

Please sign in to comment.