mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
refactor(v2): remove type attribute from link and script tags (#4907)
* refactor(v2): remove type attribute from link and script tags * minor TS fix * stylesheets.type => optional Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
d81d43c247
commit
55e9bd8ac9
7 changed files with 11 additions and 18 deletions
|
@ -71,7 +71,6 @@ Include the KaTeX CSS in your config under `stylesheets`:
|
|||
stylesheets: [
|
||||
{
|
||||
href: "https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css",
|
||||
type: "text/css",
|
||||
integrity: "sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc",
|
||||
crossorigin: "anonymous",
|
||||
},
|
||||
|
@ -108,7 +107,6 @@ module.exports = {
|
|||
+ stylesheets: [
|
||||
+ {
|
||||
+ href: 'https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css',
|
||||
+ type: 'text/css',
|
||||
+ integrity:
|
||||
+ 'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc',
|
||||
+ crossorigin: 'anonymous',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue