New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PureBASIC 5.60 #1508
PureBASIC 5.60 #1508
Conversation
Update lang definition of PureBASIC to v5.60 (new keywords)
Sorry for the unclean commits history ... the changed file is just the language definition. |
Some keywords were mistakenly joined together during RegEx operations. This commit fixes the lists (which was recreated from scratch)
I used the script on the official forum PureBasic, but it is not enough highlighting code. |
In what sense? It doesn't highlight at all or it doesn't highlight well? I've used it in many projects and it's working fine. Here you'll find some prebuild hjs packages for PureBasic (modded version, slightly old hjs version) with full examples and instructions: Here's a live example of PB code being highlighted: |
look here adapted script http://forum.ru-board.com/topic.cgi?forum=2&topic=5708&start=80#14 |
I don't see any PB code on the page of first link. The second link points to the PB forum, but the forum doesn't try to load the hjs package at all. In order to make Highlight.js work on CMSs, Forums softwares, etc., you'll need to edit the application template to ensure:
But this is not an issue specific to the PureBasic language, but a general issue with setting up HJS. You'll probably find better support by asking help on the community support forums for these specific web forum applications (phpBB, etc.), they might know how to adapt the underlying template, and if there are any conflicts with other JS plugins. |
The first link contains "edit template". Use Greasemonkey, Tampermonkey. When using javascript code highlighting good. I've tried using regular expressions |
Update PureBASIC language definition to version 5.60 (new keywords)