Closed davidbelow closed 4 years ago
The CSS is generated. See the readme. And it's just normal CSS. The fact that AMP doesn't allow !important
is not really a concern for this package. You're of course free to fork and publish an AMP compatible version if you want.
Feature request
First of all thanks for your work at
github-markdown-css
, @sindresorhus.Related Problem
When using
github-markdown-css
with Next.js AMP the AMP validator throws an error: "Disallowed !important attribute in CSS".Solution
github-markdown-css
is AMP compatible.Alternatives
If
github-markdown-css
cannot be AMP compatible then offering agithub-markdown-css-amp
could be an alternative.