In Vscode, how to change the default font size of markdown cell in a jupyter notebook - visual-studio-code

When I am using jupyter notebook in vscode, I suddenly find the default font size become so small. So how to make the default font size bigger in the markdown cell? I have tried to google how to fix the problem, but I can't find the answer. Looking forward to your reply!
Update:
After I added code< font size=3 > on the first line of each markdown cell, the display became normal. But I think I should not everytime do it because it is a waste of time.

Unfortunately there's no way to do this at the moment. Please upvote https://github.com/microsoft/vscode/issues/126294 which tracks the feature request to allow configuring markdown font sizing.

From https://github.com/microsoft/vscode/issues/126294#issuecomment-964601412
The next insiders build adds a new notebook.markup.fontSize setting
which controls the size of rendered markdown
It defaults to 120% of your editor font size (so 12px editor font size
== 14.4px). We may adjust the default value based on feedback
And see Adjust the font size in notebooks

Related

VS Code font size changing automatically

I have this weird issue with my terminal in VS Code where the font size keeps changing according to its screen size.
I am currently using mac 13in and 27in external monitor.
This is what it looks like on mac (13in) screen
mac(13in) font size
and this is what it looks like on 27in external monitor
27in font size
I already tried configuring the font size manually adding into settings.json and also tried to do the same in the preference but this issue doesn't seem to go away.
if anything the letter spacing just becomes wider as this image below
changed font size manually
please help and thanks in advance!

Is it possible to change the font in VARIABLES in debugger in VSCode?

How can I change the font family and font size of variables in the screenshot in VSCode?
There is a GitHub issue discussing this problem:
Allow to change the font size and font of the workbench
and someone has added a PR to resolve it:
Add settings for changing the workbench font size and font #144365
So maybe you need to wait for vscode to merge this function.
By the way, in my case,
because the font in variables use the default font of windows10 system - Consolas.
So I choose to change the default font, using Jetbrains Mono to replace Consolas, and it works.

Is there any way to change the size of icons (vim-devicons) without changing the font-size?

I've installed NERDTree and vim-devicons plugins for customizing my workspace and I find that size of icons is too small, so I wanted to make them bigger without changing font-size (current font-size comfortable for me).
I've tried to find solution on original documentation, read forums etc. Also I tried to find some special Nerd Font that will have bigger icons size but unfortunately everything was unsuccessful.
Link below is an example that shows current size of my icons and font.
example with NERDTree window, tabs and status line
I'm using Windows PowerShell as my terminal and neovim as my editor.
I would be grateful if someone could explain to me how to solve my problem or tell another way (or may be another plugins) to add icons and files tree to vim.
Those icons are just text and you can only have one font and font size for the whole terminal emulator's window. Therefore, you can't adjust their size separately from the rest of the text.

VS Code Jupyter Notebook Markdown Display Font

Is there some way to modify the font in which the rendered markdown cell is displayed in VS Code's Jupyter Notebook? I have searched the internet to resolve this matter, but all I understand was that this is done by default as shown in the screenshot provided in Working with Jupyter Notebooks in Visual Studio Code. The screenshot below clearly shows that the font for rendered markdown cell is different than the one set for code cells
On the other hand, My VS Code notebook Looks like this
It seems that render font for markdown has somehow been linked with the font for code cells. If I change the font for the code cell, the markdown cell render font changes too.
In settings, I found an option to set fonts for markdown preview, and I changed it to Arial, but this does not have any effect on markdown cell
I finally decided to completely uninstall VS Code, by uninstalling through control panel, then removing remaining folders from %userprofile%\AppData\Roaming\Code and %userprofile%\.vscode. Afterwards, I reinstall VS Code from the latest available stable installer and reinstalled the required extensions. But the problem still persists.
I would really appreciate any help regarding this matter
Yes, you can change the Font Size and other things too...
* -> Bullet Points
Bullet Point Image
*** -> Creates Border Line
Border Image
# -> Largest font Size
Large Font Image
## -> Medium Font Size
Medium Font Image
### -> Smallest Font Size
Small Font Image
` (Back Ticks) -> Mark the Text with Color
Back Tick Image
> -> Shade the Entire Current Cell
Shaded Shell Image
One last thing, to apply these effects you have to press ctrl + enter
for every Shell
This may help: Incorrect font used in notebook Markdown code blocks.
Apply editor-font-family to all code in notebooks (microsoft#157554)
Apply editor-font-family to all code in notebook
Fixes microsoft#146696
This matches what we do in the markdown preview
from https://github.com/Maxxisthename/vscode/commit/0103536a602d5acaffb3f4a39d8c5b31046c272b
So the editor font family you set in the settings (Editor: Font Family) should be respected in the markdown of notebook cells. If that helps...

Emacs with smaller font size -> Text doesn't align

I have a problem with Emacs (which is a great editor by the way), when I change the default font size and font, my text doesn't align anymore.
In use it in vhdl-mode, and it is really annoying, that the text doesn't align. In other editor the text-alignment is fine, even though I have modified it in emacs.
Anyone their have a solution to this problem, rather going back to default font and default font-size?
When you changed your font, were you careful to change it to a fixed width font? When you say it looks fine in another editor, is that editor using the same font?
You need to make sure that you use a fixed width (monospace) font in emacs or any other text editor to get text to line up properly. My guess is you picked a proportional font in emacs and you have a fixed width font in the other editor.