Skip to content

Commit

Permalink
move stylesheets to resources/styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Sup2point0 committed Apr 4, 2024
1 parent 711cac4 commit 3dbcf02
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quarkdown/quarkify.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def export(file: ContentFile) -> dict:
header = textualise.indent(header, 6)

styles = " \n".join(
f'''<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/Quarkdown/main/quarkdown/resources/{style}.css">'''
f'''<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/Quarkdown/main/quarkdown/resources/styles/{style}.css">'''
for style in load.get("style", ["default"])
)

Expand Down
2 changes: 1 addition & 1 deletion quarkdown/resources/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/supcode/sup/resources/Nova/Nova.css">
<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/Quarkdown/main/quarkdown/resources/essence.css">
<link rel="stylesheet" type="text/css" href="https://raw.githack.com/Sup2point0/Quarkdown/main/quarkdown/resources/styles/essence.css">
{styles}
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<link rel="icon" type="image/x-icon" href="https://github.com/Sup2point0/Assort/blob/origin/.assets/profiles/Purple Portal.png">
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3dbcf02

Please sign in to comment.