Skip to content

Commit

Permalink
develop HTML meta section
Browse files Browse the repository at this point in the history
  • Loading branch information
Sup2point0 committed Apr 3, 2024
1 parent 6a18d9d commit f6abd80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions quarkdown/quarkify.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def export(file: ContentFile) -> dict:

with open(path) as source:
content = source.read().format(
title = load.get("title", "Assort"),
styles = styles,
darkness = load.get("duality", "light") == "dark",
header = header,
Expand Down
6 changes: 5 additions & 1 deletion quarkdown/resources/core.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<!DOCTYPE html>

<!-- Quarkdown Core v1.5.1 -->
<!-- Quarkdown Core v1.5.2 -->
<html>

<head>
<title> {title} </title>
<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">
{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">
</head>

<body style="--darkness: {darkness}">
Expand Down

0 comments on commit f6abd80

Please sign in to comment.