GithubHelp home page GithubHelp logo

Comments (6)

nylki avatar nylki commented on June 2, 2024

Thats a known problem to me, and really not a nice one visually. It's due to the increased fontsize. If I were able to set a margin for the whole editor view on top, so that lines would begin further down, all should be fine. (Another idea would be to increase the height of lines that include markdown headers. However I was no able to identify those lines just via CSS rules. I can identify the font/content of a line, but not the overlying line itself, that I would like to set a differnt height to.)

If you or anybody knows a solution, I'd be glad to hear it.
In the meantime, I recommend starting at line 2 when editing markdown with a header at the first line.

from pen-paper-coffee-syntax.

nylki avatar nylki commented on June 2, 2024

I haven't noticed this behaviour anymore. I am closing this issue. Please comment if it still happens to you!

from pen-paper-coffee-syntax.

nylki avatar nylki commented on June 2, 2024

I am reopening it, still not fixed (just checked on OS X).
Help would be appreciated.

from pen-paper-coffee-syntax.

braver avatar braver commented on June 2, 2024

@nylki I may have a fix for that. It puts a bit of padding on the scroll-view (i.e. the editing area) and gutter. I haven't found a situation where that causes a problem, but could do with some more testing perhaps.

from pen-paper-coffee-syntax.

nylki avatar nylki commented on June 2, 2024

@braver Thx for the commits! I will close this issue when I have tested your changes with different fonts, font sizes and different setups for a while.

from pen-paper-coffee-syntax.

nylki avatar nylki commented on June 2, 2024

Having modified the changes by @braver, the current solution is now to create 0.5em space on top, so the first line is dynamically spaced, no matter what the font size etc. is, see commit: 0598b6f

from pen-paper-coffee-syntax.

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.