Comments (7)
How can we detect the langage of the code sample?
from chatpad.
highlight.js supports syntax highlighting with language detection
from chatpad.
Made a quick PR for this!: #54
from chatpad.
Note, poking around in the developer console for ChatGPT, it seems like they're using hljs too. This means, with the above PR we should have the same quality (or lack thereof) of highlighting as they do!
from chatpad.
Made another implementation before I saw this. Maybe it will be useful too #68
from chatpad.
Add support for almost all languages
from chatpad.
Hey @deiucanta! Can you please check this?
from chatpad.
Related Issues (20)
- Feature request HOT 1
- Add support for reverse proxy HOT 4
- Possible to add API key to config? HOT 3
- Looking for maintainers HOT 21
- OpenAI gpt-4-turbo-preview Model HOT 10
- small accessibility problem
- OSX: The window moves unintentionally between several desktops. HOT 2
- New mode GPT-4o available HOT 1
- Processing photo and files? HOT 1
- Usage estimate incorect HOT 1
- No response while using Azure OpenAI API (sort of)
- Chat Export Format in ChatGPT Style
- Netlify - Deploy failed due to an error in @netlify/plugin-nextjs plugin.
- Add support for custom finetuned models HOT 1
- Separate URL for starting new chat
- Scrolling is broken in code blocks during response generation
- open chatpad to the internet HOT 4
- UI bouncing when I or chatGPT types HOT 10
- Custom Instruction Support
- Only show GPT models that are available for your API key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatpad.