Coder Social home page Coder Social logo

Comments (4)

joeyespo avatar joeyespo commented on August 28, 2024

(Testing)

  • Item #1

  • Item #2
    With a newline inside.

  • Item #3

    With another paragraph inside.

  • Item #4

  • Item #5

Can also be reproduced in numbered lists and with blockquotes.

  1. Item #6

  2. Item #7

  3. Item #8

    With blockquote inside.

  4. Item #9

from grip.

joeyespo avatar joeyespo commented on August 28, 2024

Hmm, I'm not so sure this is a Grip bug. Grip's purpose is to match Github exactly, and Github appears to be doing the same thing, as per the above test.

Here's a screenshot of what I see in case it's rendering differently for you.

grip paragraph test

Unless you see something different, it seems to be working properly. If it's bothering you, open an issue with Github =) Well, they don't have a public issue tracker, so use this one.

That said, to actually answer your question, you can override Github's styles locally by adding your own CSS files and telling Grip to use them:

  1. Visit the grip directory, where all the .py files are, and where the templates directory is
  2. Create a settings_local.py file and add STYLE_URLS = ['static/local.css'] to it
  3. Add a static directory
  4. Create a local.css file in the static directory and add your adjusted margin styles there

Hope this helps! And thanks, glad you like Grip =)

from grip.

joeyespo avatar joeyespo commented on August 28, 2024

@ABourguignon I just added the explanation to the project, under grip/static/README.md.

Let me know if this makes sense!

from grip.

qn7o avatar qn7o commented on August 28, 2024

Hello Joe,

Great, thanks a lot for all this ! I'll still shoot an email at Github's support, just in case, because the way they are adding

in lists items still seems fuzzy. And in the meantime, I'll use the custom CSS feature.

Thanks again, kind regards, and keep up the good work !
Antonin.

from grip.

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.