Skip to content
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

GitHub CSS is out of date #1300

Open
hraftery opened this issue Apr 22, 2022 · 0 comments
Open

GitHub CSS is out of date #1300

hraftery opened this issue Apr 22, 2022 · 0 comments

Comments

@hraftery
Copy link

MacDown bundles GitHub.css and GitHub2.css for use as rendering options. Both were last updated 4 years ago and seem to be jarringly different from the current rendering on GitHub.

I see Tools/GitHub-style-generator exists in this repo and appears to be designed to use the rather official looking primer-markdown (now superseded by primer-css) to derive the current GitHub markdown css. However, it does not seem to have been used to update what gets bundled with the app lately.

In the meantime, I used sindresorhus/github-markdown-css to manually produce a suitable CSS file that is working well for me. I've documented the method I used here. One clarification - I got the padding properties from GitHub2.css.

While this file solves the issue for me for now (and may help others), it probably does not belong in the repo because it's not autogenerated. I feel like either Tools/GitHub-style-generator or sindresorhus/generate-github-markdown-css would be a better source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant