Skip to content

Commit 0daa8a7

Browse files
authored
Add RawHTML Component (#497)
1 parent d0dd622 commit 0daa8a7

15 files changed

+103312
-7283
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html linguist-generated=true

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ yarn-error.log*
3535

3636
# Jupyter Notebook
3737
.ipynb_checkpoints
38+
3839
.yarn

.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v4.4.0
4+
45
hooks:
56
- id: trailing-whitespace
7+
exclude: \.html$
68
- id: end-of-file-fixer
9+
exclude: \.html$
710
- id: check-json
811
- id: check-added-large-files
912
args: ['--maxkb=20000']
1013
- id: check-yaml
1114
- id: double-quote-string-fixer
15+
exclude: \.html$
1216

1317
- repo: https://github.com/pre-commit/mirrors-prettier
1418
rev: 'v3.0.0-alpha.9-for-vscode'
1519
hooks:
1620
- id: prettier
21+
exclude: \.html$
1722

1823
files: "\\.(\
1924
css|less|scss\
@@ -36,3 +41,5 @@ repos:
3641
|md|markdown|mdown|mkdn\
3742
|mdx\
3843
)$"
44+
# exclude files ending with .html
45+
exclude: \.html$

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"date-fns-tz": "^2.0.0",
3333
"framer-motion": "^10.12.5",
3434
"gray-matter": "^4.0.3",
35+
"isomorphic-dompurify": "^1.4.0",
3536
"next": "^13.3.0",
3637
"next-mdx-remote": "^4.4.1",
3738
"react": "^18.2.0",

0 commit comments

Comments
 (0)