Change font size of SyntaxHighlighter Code block
-
I have added a SyntaxHighlighter Code block available with wordpress.com web interface to my post. And I changed the code language to c# in settings section.
But I could not find a way to reduce the font size of the code, and the font appears is too large. Is there any way to get the font size reduced source code block.
Is the SyntaxHighlighter Code block the only option to display source code. I saw there are a lot of plugins available for wordpress.org. But are there any web extensions which we can use with wordpress.com web editor?
I appreciate your support.
By the way, I’m new to wordpress.com.
The blog I need help with is: (visible only to logged in users)
-
Hey there @nilminawalage, welcome!
Good question re: the syntax highlighter block. I don’t think it has a font size option built into it currently, but we can make that request.
The code block (a separate block option) does not include syntax highlighting, but you can control the font size.
If you’re just starting and will upgrade to a plan with CSS support, you can also manage the font size that way. Let us know if you’d like help with that.
- The topic ‘Change font size of SyntaxHighlighter Code block’ is closed to new replies.