keepassxc and typst

This commit is contained in:
anarsec 2023-08-15 01:19:21 +00:00
parent 8f4ad17042
commit 0497edcff4
No known key found for this signature in database
8 changed files with 21 additions and 13 deletions

View file

@ -112,6 +112,8 @@ class Converter:
# Copy the header font
header_font = pathlib.Path(workingDirectory) / "Jost-Medium.ttf"
shutil.copy(self.anarsec_root / "static" / "fonts" / "Jost-Medium.ttf", header_font)
header_font_italic = pathlib.Path(workingDirectory) / "Jost-MediumItalic.ttf"
shutil.copy(self.anarsec_root / "static" / "fonts" / "Jost-MediumItalic.ttf", header_font_italic)
# Add recommendations to the Markdown content
recommendations = re.search(r'\+{3}.*?\+{3}(.*)', recommendations_file.open().read(), re.MULTILINE | re.DOTALL).group(1)