Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to increase the font size of the markdown table in jupyter notebook?

I have a juptyer notebook with a markdown cell

# Projects

<div style="font-size: 50px">

hello

| Project                      |Project Type       | Status                |
|------------------------------|-------------------|-----------------------|
|   Hello phase 1              |ABC                |Ongoing                |
|   Goodbye analytics          |EFG                |Completed              |

</div >

But it does not increase the font size of the words inside the table, and it only increases the font size of "Hello".

Is it possible to increase the font size of the words inside the table? Thanks.

like image 332
Michael Avatar asked Sep 12 '18 07:09

Michael


People also ask

How do I make the font bigger in markdown Jupyter?

If you want to change the text cell font and font size you can type the following in a cell and hit shift+enter. Don't forget to refresh your browser for the change to take place. You can find all the font types here.

How do you change the font style and size in a Jupyter notebook?

Not sure how to change font sizes in jupyter notebook, but in jupyter lab, jupyter notebook's successor, you can change font sizes by going “settings” → “Advanced Settings Editor” → “codeCellConfig” → “fontSize”.

How do I change font size in JupyterLab?

Quick Configuration with the Jupyter Lab Menu To change your default fonts, from the main menu, select Settings ▶ Fonts ▶ Code ▶ Font (or Size or Line Height) and the value you'd like.


1 Answers

You need some more CSS. Try adding the following to the markdown file, instead of the style= thing:

<style>
td {
  font-size: 50px
}
</style>

Depending on your jupyter version, other approaches might work.

like image 193
mb21 Avatar answered Sep 20 '22 12:09

mb21