Comments (4)
(Testing)
Can also be reproduced in numbered lists and with blockquotes.
from grip.
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.
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:
- Visit the
grip
directory, where all the .py files are, and where thetemplates
directory is - Create a
settings_local.py
file and addSTYLE_URLS = ['static/local.css']
to it - Add a
static
directory - 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.
@ABourguignon I just added the explanation to the project, under grip/static/README.md
.
Let me know if this makes sense!
from grip.
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)
- Enable toggling dark mode, light mode HOT 2
- Add `dark-mode` flag to view mark down content in dark mode HOT 3
- `safe_join` in Flask is deprecated HOT 3
- Add server killing functionality HOT 2
- Feature request:math HOT 4
- Does this send user content to github? HOT 1
- Missing support for WARNING and NOTE formatting HOT 4
- Apt package fails with error on Ubuntu 22.04
- Project dependencies may have API risk issues
- Question: navigation
- table of contents: link to sections
- Spelling of "Trust Over IP" HOT 1
- There is no longer any need for the hack, as GitHub now supports [LaTeX equations in Markdown](https://github.blog/changelog/2022-05-19-render-mathematical-expressions-in-markdown/) natively using MathJax. It would be great, however, if grip could display such equations correctly in its preview.
- grip reports not finding README (but does not try to open that file)
- Create CONTRIBUTION.md to guide open source developers to contribute to this project
- Render only difference
- grip is not working w/ latest flask and werkzeug versions HOT 2
- Use grip --export in flask.
- Having issues with latest release, 4.6.2 HOT 1
- Tag for 4.6.2 missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grip.