-
Notifications
You must be signed in to change notification settings - Fork 426
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
Add options to remove borders and titles #240
base: master
Are you sure you want to change the base?
Conversation
Any update about merging this PR? |
+1 on this feature, would be quite neat to have |
Annoying to do this, but workaround: create a file like .preview-page {margin-top: 8px !important;} #readme > h3 {display:none;} create a file STYLE_URLS = ["https://raw.githubusercontent.com/USERNAME/REPO_NAME/master/grip.css"] then run |
I would really love this feature! Is there any plan to bring this in? @y3sh, does that workaround only work when exporting, or should it work for the live rendering too? |
Hi,
to But the styles are not applying. How can I check wether grip is loading the css file? BTW: I just want to remove scroll from the html code blocks (or maybe reduce the font size), because it cuts up the code up when I convert the html to pdf. Maybe there is a better way to achieve it Thank you |
If you are lazy to host your own grip.css you can use mine here : https://raw.githubusercontent.com/KillianGDK-FDTI/grip_remove_header/master/grip.css |
The page looks better to print to a pdf when running with both options. The remove borders option ('-B') doesn't work with '--user-content', although it should be easy to make it work.