Skip to content

Make changing font size easier - #15

Open
KraftwerkBeard wants to merge 1 commit into
nicolashery:masterfrom
KraftwerkBeard:patch-1
Open

Make changing font size easier#15
KraftwerkBeard wants to merge 1 commit into
nicolashery:masterfrom
KraftwerkBeard:patch-1

Conversation

@KraftwerkBeard

Copy link
Copy Markdown

Default for 1em is 16px.
By setting body.font-size you can alter this default. In this case then 1em would equal 14px.
Changed all other font-size values to use em rather than pixel. All em values are calculated based on 1em = 14px to maintain consistent output with original stylesheet.

Now you can change just the body.font-size value to whatever px size is comfortable for your editing environment, and the relative sizing between Markdown Elements stays consistent with the original default styles.

Default for 1em is 16px.
By setting body.font-size you can alter this default. In this case then 1em would equal 14px.
Changed all other font-size values to use em rather than pixel. All em values are calculated based on 1em = 14px to maintain consistent output with original stylesheet.

Now you can change just the body.font-size value to whatever px size is comfortable for your editing environment, and the relative sizing between Markdown Elements stays consistent with the original default styles.
@KOTRET

KOTRET commented Sep 1, 2016

Copy link
Copy Markdown

then better use rem instead of em?

@UlionTse

UlionTse commented Aug 4, 2017

Copy link
Copy Markdown

Add Latex ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants