This is simple problem: → for this below … in Markdown doc but the font is too large.
What is the simple css style code to change the font size ?
$ mysql -u root -p
This is simple problem: → for this below … in Markdown doc but the font is too large.
What is the simple css style code to change the font size ?
$ mysql -u root -p
There’s information on CSS for markdown here:
CHRILLEK … your CSS PDF is awesome - thanks for pointing me in that direction.
But - I think I asked my question incorrectly.
This is a MARKDOWN code block ```SQL … some code … ```
mysql> GRANT ALL PRIVILEGES ON *.* TO 'donnie'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
I want to CHANGE the FONT SIZE of the code block with CSS.
Perhaps I am not understanding from the CSS guide you shared - what I need to do … there is some CSS class or type that I need to change the <style> … </style> for … I just dont have a clue where to start. Or, what to change ?
I apologize for my sophomoric question - perhaps a simple example might open my brain ?
Here’s what I always suggest: convert the MD to HTML in DT. Then open that HTML in your browser (it won’t show DT item url images, but that doesn’t matter here). Open your browser’s deveoper tools. Check out the part of the HTML that you’re interested in and play around with the CSS settings for it.
Where to put the CSS and all that is described in the posts I linked to.
chrillek is the man …
recipe:
font-size
What I ultimately posted in the head of my Markdown is this:
<style>
pre[class*=language-]
{font-size: 0.8em;}
</style>
and magic happens … reduced all the code block font so it is reads better.
So easy when you are not dumb … Thanks Chrillek !!!
You’re welcome. I’d suggest to put that in a global stylesheet so that it gets automatically applied to all MD documents. Manually adding the style
element is a bit tedious, I think.