Exporting to HTML or PDF should use the same fonts as the Preview #850
bobhairgrove
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Moved to Q&A: #851
When I change the text or code font in "Preview Options", the preview
takes them ononly takes on the change in point size. I was expecting the exported HTML and PDF files to keep these fonts, but it seems that was somehow overlooked? Also,docx
andodt
do not seem to define anything but generic font styles.I know that markdown does not necessarily define any font properties itself, but if exporting to formats such as HTML or PDF, one would expect it to look as similar to the preview as possible. In the HTML source, there is no font family for
<body>
specified anywhere that I can tell. And PDF always looks the same, regardless of which font I choose.Is there a different setting I need to use? Or is this something to do with Pandoc? Do I need a YAML header section?
I am using Ghostwriter 2.1.1 on Linux Ubuntu 22.04.
(EDIT -- as noted above, this also doesn't work in the Preview as expected.)
Beta Was this translation helpful? Give feedback.
All reactions