Comments (3)
Ah, originally I thought that highlightjs was working properly because I have another project that uses it for Solidity syntax highlighting and I thought it was working. On second look, it seems like it highlights the comment above differently, depending on whether there is a space between the variable and the /
or not. I'll go report it on their repo, feel free to close this. Thanks!
from lowlight.
Can you confirm the whether the same problem exists in highlight.js? This project just wraps that. It doesn't (shouldn't) change anything with how highlighting works.
from lowlight.
Makes sense, thanks!
from lowlight.
Related Issues (20)
- Is there a way to add the line numbers? HOT 1
- Import the highlight languages asynchronously on demand HOT 2
- missing getLanguage API HOT 5
- `main` branch not compat with remark-highlightjs? HOT 16
- How do you use lowlight with hljs v11 support with cjs/node? HOT 9
- is possible to release with a cjs module? HOT 1
- Use with webpack will throw Uncaught Error: Unknown language: `js` is not registered HOT 2
- How to resolve TypeScript conflict errors? HOT 1
- re-export highligh.js `getLanguage` HOT 3
- Handle subscopes differently/better? HOT 14
- Tiny private API change HOT 2
- Error: Must use import to load ES Module HOT 1
- How can we change the entry point from lib/common.js to lib/all.js HOT 1
- Running highlight.js after using lowlight results in blank output from highlight.js HOT 12
- Add position information to tokens HOT 5
- Compatible with ES6 browsers HOT 1
- Convert tree to LaTeX? HOT 1
- Class for nested languages correct? HOT 8
- What is devlop? HOT 3
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 lowlight.