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

Modernize github-lookalike markdown rendering #8323

Open
isoos opened this issue Nov 20, 2024 · 1 comment
Open

Modernize github-lookalike markdown rendering #8323

isoos opened this issue Nov 20, 2024 · 1 comment

Comments

@isoos
Copy link
Collaborator

isoos commented Nov 20, 2024

Our github-markdown.css is outdated in many aspect (e.g. dark mode compatibility, how some blocks are rendered - specifically the blockquote mentioned in #8310), and we should update it.

The most comprehensive and up-to-date CSS file(s) seems to be in https://github.com/sindresorhus/github-markdown-css - but we may not need all of the rules from those files. It is generated by fetching the styles from GitHub, parses them and extracts the relevant rules.

We could use them on a case-by-case basis, or also create a similar extraction logic for the styles or specific rules that are relevant to us (e.g. we don't want to use font-family rules where they are not applicable).

@isoos
Copy link
Collaborator Author

isoos commented Nov 20, 2024

/cc @parlough

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

No branches or pull requests

1 participant