summaryrefslogtreecommitdiffstats
path: root/src/components/MDX/CodeBlock/CodeBlock.tsx
Commit message (Collapse)AuthorAgeFilesLines
* chore: update some texts to reduce its widthArmand Philippot2022-02-131-2/+2
| | | | | | | In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile"
* fix: translate Prism toolbar buttons on MDX code blocksArmand Philippot2022-02-081-13/+29
| | | | The translation was only set on page refresh.
* chore(prism): translate color scheme toggle buttonArmand Philippot2022-02-081-1/+5
|
* refactor(prism): rename color scheme attributes and remove prefixArmand Philippot2022-02-081-1/+1
|
* chore: add a new settings to handle prism theme from toolbarArmand Philippot2022-02-011-0/+10
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-311-0/+1
|
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-2/+2
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-2/+4
|
* chore: create a CodeBlock component for MDX renderingArmand Philippot2022-01-261-0/+38