Enhancecodeblocks
A betterdiscord plugin that aims to enhances Discords codeblocks and file viewer
Install / Use
/learn @doggybootsy/EnhancecodeblocksREADME
Enhance CodeBlocks
A BetterDiscord plugin that aims to make Discords codeblocks & text file attachments better.
Features
- SVG Preview
- Line Numbers
- Download
- Copy
- Collapsability
- Change File type
Codeblocks
<img src="./previews/collection.png" />(File attachment and codeblocks)
Modal
<img src="./previews/modal-preview.png" />(SVG preview within the modal)
Change Language
<img src="./previews/change-lang.png" />(Showing how the tsx alias will show typescript)
Allows searching using language name and language aliases
Building
First clone the repo
git clone https://github.com/doggybootsy/enhancecodeblocks.git
then install the deps
npm i @react-spring/web@^9.6.1
npm i @types/react@^18.0.27
npm i esbuild@^0.17.6
npm install @types/betterdiscord@github:zerthox/betterdiscord-types
Finally to build run
npm run build
