Comments (6)
A namespace will no be introduced since it will break backwards compatibility. Use geshi-1.1 for that.
What I would really miss is unit tests that tell me if a patch breaks things :/
from geshi-1.0.
Yeah. Unit tests would be awesome, but I don't know enough about the GeSHi internals to do that. However I thought about two things that would be relatively easy:
- dogfood the geshi source through geshi and simply check that a few keywords are in the resulting output -- this would ensure at least the PHP compatibility and catch possible syntax errors.
- use the checklang.php mechanism in a unit test
When both are in place it could be set up at travis and you could at least see if new PRs violate those basic things already. Eg. I had to fix most of the language additions becasue checklang found some issues
from geshi-1.0.
unit tests would be too much,yes. I thought about having a set of source test files and their expected output, which gets compared by phpunit.
But having checklang in travis would also help, yes.
from geshi-1.0.
@cweiske I started working on unit testing as outlined above. Can you have a look at my questions here: splitbrain-forks#1
from geshi-1.0.
I converted the geshi-doc.html document to markdown, manually fixed stuff and added the contents (mostly) to the wiki. I left out stuff that very obviously needs rewriting. A new table of contents linking to the various documents should be created on the Home page. And of course all the pages need some work, but now the community could step in.
from geshi-1.0.
I'm closing this in favor of #79 #81 and #82
from geshi-1.0.
Related Issues (20)
- TWIG templating HOT 1
- New release tag HOT 8
- Use of a Broken or Risky Cryptographic Algorithm in geshi/geshi.php HOT 6
- Support Json format HOT 10
- scilab highlighting has not valid html links HOT 1
- scilab highlighting refers old docs HOT 3
- <CODE SAS> highlighting inside PROC SQL HOT 5
- Deprecated: Function create_function() is deprecated HOT 1
- Use keyword parser control for roff
- 'Perl 6' has been renamed as 'Raku'
- Website out of date
- Please repair qbnz.com
- Typo in Swift keyword
- Add synonyms for conventional well-known languages/extensions
- TSQL syntax highlighing error HOT 1
- Case sensitivity & array index
- Php8.1 brokes
- Go highlighting borks on numbers HOT 3
- qbnz.com down
- Thank You
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 geshi-1.0.