Comments (4)
All right, initial commit up. @sideshowbarker, wanna check that it's good for you? As far as I can tell it works for me!
from highlighter.
OK I did some follow-up in #17, and with the changes from that PR applied, highlighting of the HTML spec works as expected under Python 3.
(Sorry, it took be a little longer than I had expected to get it done; it’s because IDL highlighting was failing completely — but due to the nature of that code, no exceptions get thrown when it’s not actually doing anything. Instead, the important part of it just never gets run. So it took me a while to figure out what needed to get changed to make it work again.)
from highlighter.
FYI about the cause of the IDL highlighting problem I mentioned in my previous comment here, I filed plinss/widlparser#59. This seems like maybe a good case for using an abstract class — which from https://docs.python.org/3/library/abc.html I notice Python 3 now has.
But maybe (preferably) there’s an existing native Pythonic way I’m so far unaware of that could be used/required by writers of consumer code to avoid the kind of problem I ran into.
from highlighter.
Ugh, sorry about that, I ran into the same confusion when I was porting Bikeshed proper. Luckily plinss is fixing that, nice.
from highlighter.
Related Issues (11)
- WebIDL parsing failures for six WebIDL blocks from HTML spec HOT 5
- Failures for all CSS examples from HTML spec HOT 2
- Investigate possible performance/speed improvements HOT 10
- HTML serializer incorrectly emits <br></br> instead of just <br> HOT 1
- Loses some escapes in pre blocks? HOT 4
- Update widlparser HOT 1
- Roll idlparser again HOT 1
- Server doesn’t return 400 for invalid Web IDL HOT 2
- bs-highlighter and bikeshed require different/incompatible versions of pygments HOT 8
- Update color scheme to meet WCAG HOT 6
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 highlighter.