Python Forum
URL not showing properly in comments of codebox
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URL not showing properly in comments of codebox
#1
I finished my tutorial/GUI post [Tkinter] Proper layout for resizeable tkinter GUI.
I have a url embedded in the comments on top. I have tried embedding in url tags
and without url tags. Results are the same, in both cases it is surrounded with the
html code. I also tried the link menu button
Not a big issue, but unattractive
Reply
#2
you mean this link?
http://www.tkdocs.com/tutorial/grid.html


You have it in your 3rd paragraph and it is clickable.

The only odd part i see area a couple of these <---->
Is this what you are referring to? 

If you copy a url and insert it into the editor it should auto detect it is a link and make it clickable. If not, you can highlight it, then select the "Insert link" button, and paste again the URL in the URL field. The description field will display it to what you put there. If left blank it will leave it displayed as you had it. To actually use the URL BBcode for each method, select the "view source" button. The source is also listed in the help docs http://python-forum.io/misc.php?action=help&hid=25
Recommended Tutorials:
Reply
#3
The url worked, just didn't display correctly
It was the one in comments:
#
# Laying out a tkinter grid
#
# Please also find two images:
#    GridLayout.png and screenshot.png
# Credit: Modified by Larz60+ From the original:
#    <a rel="nofollow" href="http://www.tkdocs.com/tutorial/grid.html" target="_blank">http://www.tkdocs.com/tutorial/grid.html</a>
#    
Reply
#4
oh the code comments  Doh

Looking at the actual post. You are doing a couple things wrong. 

1)
You are using code tags...you should be using python tags. The python logo button provides these tags for you. The only reason it shows up in the syntax codebox is because i rerouted code tags to use python tags....but that was only for pre-existing tags. Not meant to be continued use of the code tags. Though the code tag shows the codebox in the preview if edited, it is really the syntax codebox used. 

2)
You are adding url tags in a codebox.
   
remove these url bbcode tags

EDIT:
OK scratch all previous, i see what your saying...

testing codebox link
#    http://www.tkdocs.com/tutorial/grid.html
#    [url=#    http://www.tkdocs.com/tutorial/grid.html]http://www.tkdocs.com/tutorial/grid.html[/url]
#    [url=#    http://www.tkdocs.com/tutorial/grid.html]link[/url]
#    a = "http://www.tkdocs.com/tutorial/grid.html"
#    "http://www.tkdocs.com/tutorial/grid.html"
I guess surround the link with quotes, otherwise it injects the html code into the codebox
Recommended Tutorials:
Reply
#5
will do
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  codebox usage help doc metulburr 0 1,671 Oct-31-2020, 12:12 PM
Last Post: metulburr
  single/double quote escapes codebox highlighter metulburr 3 3,526 Aug-08-2017, 01:36 PM
Last Post: metulburr
  codebox borders metulburr 15 15,925 Nov-24-2016, 04:04 AM
Last Post: snippsat
  More codebox issues Mekire 26 19,724 Oct-13-2016, 05:20 PM
Last Post: wavic
  Syntax Highlighter Codebox Issues metulburr 38 28,328 Oct-06-2016, 01:06 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

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