Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

prism.css file line 44 have a error #472

Open
liu1084 opened this issue Mar 22, 2024 · 1 comment
Open

prism.css file line 44 have a error #472

liu1084 opened this issue Mar 22, 2024 · 1 comment

Comments

@liu1084
Copy link

liu1084 commented Mar 22, 2024

prism.css file line 44:

pre[class*="language-"] > code[data-prefix]:before {
  color: $676767;
  content: attr(data-prefix);
  padding-right: 8px;
}

shoud be:

pre[class*="language-"] > code[data-prefix]:before {
  color: #676767;
  content: attr(data-prefix);
  padding-right: 8px;
}
@MattIPv4
Copy link
Contributor

👋 NGINXConfig does not load prism.css directly, we build it and fix that issue in

const fixed = text.replace(/:\s*\$((?:[0-9a-fA-F]{3}){1,2});/g, ':#$1;');

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

No branches or pull requests

2 participants