With the release of 1.0.27 the default font size in the body of the rendered notes appears to have increased and is no longer similar to the font size of the note card as it was in previous versions.
By setting the global zoom percentage to 80% the text in the rendered note goes back to what it used to look like. However the note card, tag names, notebook names etc. then have a much smaller font which is harder to read.
This happens on both the Windows version and the Linux appimage.
Is this increase in the default font size for the rendered note intentional?
The increased font size was intentional, as part of a larger update to the default styling of notes. Fortunately that styling is customizable with css. If you create a userstyle.css file in ~/.config/joplin-desktop/ you can simply change the font size with a few lines of css. see here for more information about userstyle.css
The below lines should return your font size back to what it was before.
Thanks for the info. I had tried playing with the userstyle.css file.
In order to try to revert all rendered notes elements back to a size more proportionate with the âcardâ and interface text (at least as far as I am concerned!) I used:
body, th, td {
font-size: 12px;
}
âFencedâ code also looks fine using this but in-line code is now tiny. Using code as a tag seems to affect âfencedâ code but not âin-lineâ code.
Itâs working for me. I even tried taking a Github css file which came with a Markdown editor, called it usersyle.css and put it in the joplin-desktop directory. It worked. Looked horrible. But it worked.
Could it be that the post you referred to means that userstyle.css is no longer being used for printing as opposed to the display?
To convert a note to html, yes.
However, I would like to know the elements/classes that Joplin uses internally so I can use style sheets to shape the Joplin appearance as well as the printed output.
Oh! If thatâs all you need it for you should check out the MdToHtml.js file, it contains all the CSS (and most of the html) for note rendering.
If you still canât find what you need there feel free to ask specific questions and I (or someone) can try to help.
Iâm sorry, I donât have it any more. At the time I was testing a few Markdown editors to see if it was worth me using an external editor with Joplin (It wasnât).
IIRC the program was MarkdownPad and the css sheets could be copied from its settings dialog.
Can I ask why you wanted it? Was it just to have a starting point for your own modifications? I ask because the css file from the Markdown editor was really awful in Joplin!
If, like me, you are not a css guru and want a stylesheet with just a few modifications and with different screen and print settings as a starting point, I would happily supply the simple one I use.
You may possibly have to enable the multimarkdown table extension to use table captions.
The values for both media screen and media print are almost the same apart from printing code text in bold. I just split them for any later changes I may make.