Skip to content

change font size for code snippets #2830

Answered by andybeet
andybeet asked this question in Q&A
Discussion options

You must be logged in to vote

so i may have spoke in error. I think this section works for changing code font

  .highlight {
    margin: 0;
    font-family: $monospace;
    font-size: $type-size-5;
    line-height: 1.8;
  }

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@andybeet
Comment options

@rjzupkoii
Comment options

@andybeet
Comment options

Answer selected by andybeet
@rjzupkoii
Comment options

@JunyangZhangUSTC
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants