Let met guess: Once you get the Chrome extension working, you plan to port it to a client JS that the server can include in every page with a <script src="...">. Or do you plan to keep it Chrome-exclusive?

Let met guess: Once you get the Chrome extension working, you plan to port it to a client JS that the server can include in every page with a <script src="...">. Or do you plan to keep it Chrome-exclusive?

Wasn't exactly my plan. First of all, the Chrome extension already works. I was just using this page to test the bug fixes I made for the Wiki syntax highlighter (since this was the easiest way because I was already using the same script in my Chrome extension).

The script could be used on this forum as well, it's not dependent on Chrome in any way, but it probably wouldn't be a good idea to highlight all [code] tags, since often they're used for things other than just 6502 code. We could add a new [6502] tag or something, I guess?

Apparently there's some sort of latent support for syntax highlighting within phpBB. It is documented as treating [code=php] differently, but it strips out a lot of arguments from other [code=...] tags. That sort of disappoints me because I expected to be able to edit the [code] tag as a custom BBCode to pass the language name through as a data- attribute that a script can pick up on.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum