We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,708 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Code tags don't work right

After posting code using the Code button no line numbers appear and I can't double-click to highlight the posted code. See this thread. Everything works correctly in the original post to that thread, but not in mine where I used the Code button.

2
Contributors
2
Replies
1 Hour
Discussion Span
10 Months Ago
Last Updated
4
Views
Ancient Dragon
Achieved Level 70
Team Colleague
32,116 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,575
Skill Endorsements: 68

doesn't work as described in the Formatting Help button either, just putting either 4 spaces or one tab in front of each line.

Ancient Dragon
Achieved Level 70
Team Colleague
32,116 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,575
Skill Endorsements: 68

Looks fine to me. Remember, code highlighting is Javascript based and it only initiates at the beginning of a page load, so if you post with quick reply, you will need to refresh before seeing it.

Dani
The Queen of DaniWeb
Administrator
21,343 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 367
Skill Endorsements: 119

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.5159 seconds using 2.64MB