GithubHelp home page GithubHelp logo

Comments (7)

benbalter avatar benbalter commented on June 29, 2024 1

I hope, the additional notes are not required...

I'm afraid they are. Can you explain a bit more?

/cc @mattgraham

from midnight.

maxkoryukov avatar maxkoryukov commented on June 29, 2024

No problem;))

I am the developer 🥉 (my wooden medal), and I spent a lot of time looking at my favorite IDE/editor (in my case - Sublime3). And there the code has a monotype-font family -- there is a reason for this, look at this pictures:

one:

theme-before

two:

theme-after


As you could see, two strings has different visual length. But they have the same number of chars!! And on the second picture, you could see, that lines are of the same length.

Another one observation: I have migrated to the github-pages from simple README.md files in the repo. And github has a special formatting for the code blocks, and there the font is monotyped;)

Summarizing:

  • IDE and code-editors use monotype
  • github use monotype
  • monotype is convenient for the source code (IMO)

from midnight.

benbalter avatar benbalter commented on June 29, 2024

Is the site you're trying to use midnight on public? I suspect you do not have the necessary Rouge syntax highlighting included. See the font and coloring on https://pages-themes.github.io/midnight/ to compare.

from midnight.

maxkoryukov avatar maxkoryukov commented on June 29, 2024

yes, I am tried to use on github-pages.

The same screenshot from https://pages-themes.github.io/midnight/

Screenshot "as is"

selection_014

Screenshot "changed font-family with devtools"

selection_015

from midnight.

benbalter avatar benbalter commented on June 29, 2024

Here's what I see when I go to that same page:

screen shot 2016-12-28 at 1 19 22 pm

from midnight.

maxkoryukov avatar maxkoryukov commented on June 29, 2024

@benbalter I know, what is the matter: I am on Linux Mint 17, and I don't have any of this fonts (taken from scss):

'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal

out of the box;)

from midnight.

maxkoryukov avatar maxkoryukov commented on June 29, 2024

Thank you!

from midnight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.