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

Improve readability of text and code blocks in blog posts #260

Closed
ee7 opened this issue Feb 1, 2021 · 1 comment
Closed

Improve readability of text and code blocks in blog posts #260

ee7 opened this issue Feb 1, 2021 · 1 comment

Comments

@ee7
Copy link
Contributor

ee7 commented Feb 1, 2021

#259 is a huge improvement, but I've always thought that there's something else about text and code blocks in Nim blog posts that decreases readability.

As an example, compare:

I find it much easier to read on GitHub. Do others agree?

Some suggestions:

  1. Make headers at the level of "Known incompatibilities and gotchas" and "Deepcopy" more obvious - it's currently much harder to distinguish sections than on GitHub.
  2. Add horizontal padding inside inline code blocks, and have a bigger difference between the font faces. The code blocks in the bottom image below tend to blend into the regular text.

1
2

Maybe people have some other suggestions.

Somewhat related: #202

@narimiran
Copy link
Member

Make headers at the level of "Known incompatibilities and gotchas" and "Deepcopy" more obvious - it's currently much harder to distinguish sections than on GitHub.

Agreed. I'll work on this.

narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
narimiran added a commit to narimiran/website that referenced this issue Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants