Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline highlighting shouldn't have a monospaced font #437

Open
DunnCoding opened this issue Dec 4, 2019 · 2 comments
Open

Inline highlighting shouldn't have a monospaced font #437

DunnCoding opened this issue Dec 4, 2019 · 2 comments
Labels
webdev Improvements or additions to the website

Comments

@DunnCoding
Copy link
Contributor

We're currently setting the font of any words wrapped in back ticks to a monospaced font.

We should use this font for code blocks only, for inline we shouldn't use this as we're highlighting non-code items.

We could also reduce the font weight slightly I think.

@DunnCoding DunnCoding added the webdev Improvements or additions to the website label Dec 4, 2019
@SueChaplain
Copy link
Contributor

Suggestions, based on common highlighting:

class / package / API names = monospace
codeblocks = monospace
code snippets inline = monospace
directories / file paths / filenames / file extensions = monospace
scripts / command names / tool names = bold monospace
environment variables = bold monospace

@SueChaplain
Copy link
Contributor

Do we need to update the title or description on this one @ddunn2 ? If we are referring to code inline, it should be backticked and ideally we show this in monospace. However, IIRC there might have been some issue with the CLI ref and how the content generated here was being transformed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webdev Improvements or additions to the website
Projects
None yet
Development

No branches or pull requests

2 participants