I tried using [code] and [/code] but that doesn't work. I tried using the Code button but that didn't seem to work either (i.e. past code into editor, highlight, then hit the Code button). So how to add code tags?
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Recommended Answers
Jump to PostBBCode no longer works for new posts, it's all Markdown based now. As far as making a code block, it's a matter of indentation (at least 4 spaces). Presently the code button only pastes an example into the editor if there's no text selected. To paste actual code, you would …
Jump to PostYou need to put a new line before and after the code block. Unlike vBulletin's bbcode, Markdown is a more universal language used across many sites sich as Reddit, Github, etc. If you do a Google search for markdown tutorial or markdown documentation, you should be able to get a …
All 9 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.