Comments (6)
Hi Mohamed,
thank you for the information about the embeding of gists. I was not aware that my table styles would
make problems. I never used gists before.
I'll look into this and give you a response at soon as I've a idea on how to approach this. 👍
from hugo-vitae.
Thanks Ben.
I tried adding the following to main.css
. It seems to fix the styling for the gist. Not sure if this is best practice for hugo themes, but it's a suggestion.
.gist table tbody tr:nth-of-type(even) {
background-color: unset;
}
.gist table th, table td {
border-bottom: unset;
}
from hugo-vitae.
Hey Mohamed,
could you send me your markdown file as a testing example for my changes?
This would help me a lot. 👍
from hugo-vitae.
Sure thing. Here's the test post I was using. (rename the file extension to .md)
test-gist.txt
from hugo-vitae.
@muhannad0, after some tries by me, it's clear that your suggestion was the best to work around this problem.
I would really appreciate if you could try this change out and give me feedback.
In a few days I will create a release with this fix.
from hugo-vitae.
Hi Ben. Just tested the with the new commit. The gist is displayed correctly, so its working fine. 👍
from hugo-vitae.
Related Issues (20)
- All links have a trailing space
- Internal templates are not available HOT 4
- Feature: Disable dark mode functionality
- Create templates for issues and pull requests
- Rework the "set dark mode as default" feature
- Code in hyperlink doesn't render HOT 2
- math rendering example HOT 4
- use safeURL HOT 2
- Source for default list page header prefers `.Data.Term` over `.Page.Title` HOT 6
- Dark mode icon is not shown if no social links are specified HOT 1
- Term with hashtag causing 404 error HOT 2
- [Question] How to put more posts on homepage? HOT 6
- Dark mode markdown codeblock background is white HOT 7
- readability issues in tables HOT 1
- Support for Persian? HOT 5
- When blog is in a subdirectory, resources does not load HOT 5
- Installation instructions not working HOT 1
- `customcss` isn't properly supported
- There must be at most one H1 tag in a page for SEO's sake HOT 3
- How to use math typesetting?
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 hugo-vitae.