aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/plugins/prism-color-scheme.js
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Code component and usePrism hookArmand Philippot2023-11-111-246/+0
| | | | | | | | | | | | * move Prism styles to Sass placeholders to avoid repeats * let usePrism consumer define its plugins (remove default ones) * remove `plugins` prop from Code component * add new props to Code component to let consumer configure plugins (and handle plugin list from the given options) However there are some problems with Prism plugins: line-highlight and treeview does not seems to be loaded. I don't want to use Babel instead of SWC so I have no solution for now.
* refactor(prism): rename color scheme attributes and remove prefixArmand Philippot2022-02-081-30/+24
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-311-0/+252