Comments (1)
Tested using 0.2.2
, this has been fixed! 🎉
const hljs = require("highlight.js");
console.log(hljs.highlightAuto("<h1>Hello</h1>").value);
// => <span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Hello<span class="hljs-tag"></<span class="hljs-name">h1</span>></span>
from bun.
Related Issues (20)
- `test.todo` not failing when test is already passing HOT 1
- `expect.toThrow` is not checking passed constructor correctly
- Default language environment is inconsistent with other implementations
- `error: �������������������������` (and other variations of this unreadable error) and `error: ENOENT reading "/home/hussein/bun-svelte/node_modules/validator.js"` when using `validator` HOT 1
- Puppeteer creates a corrupt PDF file HOT 1
- SBOM support for supply chain security integrations HOT 1
- [Types] `Array.fromAsync` mistyped
- Runtime TypeError with node-fetch-cache
- Unable to execute request with unix socket
- Add a CI action to verify the windows build works on Windows 10 1809
- zeromq module not working HOT 3
- `HTTP_PROXY` not supported in `bun create` subcommand HOT 2
- bun package manager fails to resolve github dependencies of packages HOT 1
- bun init doesnt work in Windows terminal
- windows: doesnt enable virtual escapes in conhost.exe
- SQLite Iterators
- PANIC on hot-reload when modifying imported modules (release ,debug) and HUGE memory leak (debug). HOT 3
- Error when build
- `Request.clone()` does not clone body HOT 2
- bun add --no-cache doesn't ignore cache HOT 4
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 bun.