Python Forum
Syntax Highlighter Codebox Issues
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syntax Highlighter Codebox Issues
#1
We are testing new code box. This python tag is syntaxhighlighter Version 4.x. which works with a number of langauges.

We converted all original code tags, php tags, etc. to this new python tag. Let us know if you see any problems. 

Current Issues with Syntax Highlighter Codebox:
  • No select all option (you can double click the code to select all)
  • no restriction on length down (For right now you can surround your python code tags with spoiler tags to shorten the code to a link to expand as needed)
  • copy and paste not working correctly (You must paste code as plain text for this codebox to work right CTRL + SHIFT + V or right click "paste as plain text")
  • Sometimes copying from HTML to codebox can add extra things (such as newlines, or switch a link to an <a> tag within the code box (images/links in the code box can break it and post the html instead)
  • hide underscores from within the code box, if it is at the bottom of the box, or a single line (this is only some browsers, and only on the bottom line of the code box)

import os

class Klass:
    '''docstring'''
    def __init__(self):
        self.var = "var"
        pass
Recommended Tutorials:
Reply


Messages In This Thread
Syntax Highlighter Codebox Issues - by metulburr - Oct-04-2016, 02:16 PM
RE: testing new codebox - by wavic - Oct-04-2016, 02:21 PM
RE: testing new codebox - by sparkz_alot - Oct-04-2016, 03:53 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 04:09 PM
RE: testing new codebox - by sparkz_alot - Oct-04-2016, 04:26 PM
RE: testing new codebox - by snippsat - Oct-04-2016, 04:16 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 04:29 PM
RE: testing new codebox - by sparkz_alot - Oct-04-2016, 04:31 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 04:48 PM
RE: testing new codebox - by snippsat - Oct-04-2016, 04:51 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 04:57 PM
RE: testing new codebox - by snippsat - Oct-04-2016, 05:05 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 05:08 PM
RE: testing new codebox - by sparkz_alot - Oct-04-2016, 05:20 PM
RE: testing new codebox - by metulburr - Oct-04-2016, 05:24 PM
RE: testing new codebox - by wavic - Oct-04-2016, 06:00 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 02:10 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 02:47 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 03:04 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 03:51 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 04:40 PM
RE: Syntax Highlighter Codebox Issues - by snippsat - Oct-05-2016, 04:44 PM
enable default code/php - by metulburr - Oct-05-2016, 11:54 AM
RE: enable default code/php - by snippsat - Oct-05-2016, 12:34 PM
RE: enable default code/php - by metulburr - Oct-05-2016, 12:46 PM
RE: enable default code/php - by metulburr - Oct-05-2016, 12:49 PM
RE: enable default code/php - by j.crater - Oct-05-2016, 12:54 PM
RE: enable default code/php - by snippsat - Oct-05-2016, 12:58 PM
RE: enable default code/php - by Crimson King - Oct-05-2016, 01:28 PM
RE: enable default code/php - by metulburr - Oct-05-2016, 01:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  codebox usage help doc metulburr 0 1,664 Oct-31-2020, 12:12 PM
Last Post: metulburr
  single/double quote escapes codebox highlighter metulburr 3 3,516 Aug-08-2017, 01:36 PM
Last Post: metulburr
  codebox borders metulburr 15 15,900 Nov-24-2016, 04:04 AM
Last Post: snippsat
  URL not showing properly in comments of codebox Larz60+ 4 5,531 Nov-05-2016, 04:23 PM
Last Post: Larz60+
  More codebox issues Mekire 26 19,677 Oct-13-2016, 05:20 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020