1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 07:26:22 -05:00

Make code font size dynamic

This commit is contained in:
Patrick Marsceill 2020-05-01 15:07:27 -04:00
parent ff5047e523
commit 2f13db1f01
No known key found for this signature in database
GPG Key ID: 286B93882D828F40
2 changed files with 6 additions and 1 deletions

View File

@ -86,7 +86,7 @@ a:not([class]) {
code {
font-family: $mono-font-family;
font-size: 12px;
font-size: 0.75em;
line-height: $body-line-height;
}

View File

@ -22,9 +22,14 @@ Code can be rendered inline by wrapping it in single back ticks.
<div class="code-example" markdown="1">
Lorem ipsum dolor sit amet, `<inline code snippet>` adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
## Heading with `<inline code snippet>` in it.
{: .no_toc }
</div>
```markdown
Lorem ipsum dolor sit amet, `<inline code snippet>` adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
## Heading with `<inline code snippet>` in it.
```
---