Skip to content

Commit

Permalink
feat(plugin): citations (jackyzha0#984)
Browse files Browse the repository at this point in the history
* feat: add rehype-citations

* feat: add citations transformer plugin

* feat: add rehype-rewrite

* feat: add csl option and add no-popover to citation links

* revert: add rehype-rewrite

04b2692 'feat: add rehype-rewrite'

* feat: use existing package for html manipulation

* fix: remove `console.log()`
  • Loading branch information
linozen authored Mar 13, 2024
1 parent 097abc3 commit 92cc23d
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 0 deletions.
273 changes: 273 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"pretty-time": "^1.1.0",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-citation": "^2.0.0",
"rehype-katex": "^7.0.0",
"rehype-mathjax": "^6.0.0",
"rehype-pretty-code": "^0.13.0",
Expand Down
Loading

0 comments on commit 92cc23d

Please sign in to comment.