syntax highlighting - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Board (https://python-forum.io/forum-26.html) +--- Thread: syntax highlighting (/thread-15.html) |
RE: syntax highlighting - metulburr - Oct-04-2016 Quote:if we could people to do that if they post long code?That is definitely an approach that works. I would like to at some point get a hieght restriction. But at this point im just happy with the fact that the syntax highlighter works at all. RE: syntax highlighting - metulburr - Oct-04-2016 A simple hack that might work easily is to wrap the python code tags in spoiler tags if the text within is X characters long, and or X number of newlines, etc. But im not going to bother at this point. RE: syntax highlighting - snippsat - Oct-04-2016 Quote: But at this point im just happy with the fact that the syntax highlighter works at all. Yes only minor stuff to fix now,and is very rare that someone post so long code as Skaperen fixed both post now with spoiler tag. Shall look into removing vertical and horizontal scroll bars. RE: syntax highlighting - snippsat - Oct-04-2016 Removed vertical scrollbar. Horizontal scrollbar only appears if someone goes crazy with line lenght :tux: RE: syntax highlighting - metulburr - Oct-04-2016 (Oct-04-2016, 06:04 PM)snippsat Wrote: Removed vertical scrollbar. Sweet :dance: RE: syntax highlighting - Larz60+ - Oct-05-2016 When figured out, please fix my last post under homework titled List Censor Thread Thanks RE: syntax highlighting - metulburr - Oct-05-2016 shcode tag is no longer valid use python code tags Also what IDE were you copying from? You didnt have plain text within code tags RE: syntax highlighting - Larz60+ - Oct-05-2016 Got it, thanks for the fix! |