Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github - how to change font size in markdown file?

Tags:

markdown

I'm wondering how to change font size in Readme.md file.

`**Zad. 0** <br />`

I want 'Zad. 0' to be bigger, but i have not found any solution yet.

like image 568
Błażej Pajor Avatar asked Dec 01 '25 02:12

Błażej Pajor


2 Answers

TL;DR

  • # creates headers in markdown and is the easiest way to change font size

  • If absolutely feel the need to change font size, html tags may be used in MD file

  • Markdown cheat sheet

    • https://www.markdownguide.org/cheat-sheet/
    • more advanced discussion of MD

As other answers have said, you CAN use html tags in markdown, but it's generally kinda frowned upon. With the exception of headers # all font is the same size, but you can format to call attention to more important parts.

The beauty of MD (markdown) is that it is very easy to format without html tags and instead using simple characters.

like image 63
Edgar Avatar answered Dec 05 '25 23:12

Edgar


You can use the HTML <h1> to <h6> heading tags in your markdown file to change the size of your font/text.

like image 36
Questagoros Avatar answered Dec 06 '25 00:12

Questagoros