LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 5.00 average.

Adding [code][/code] tags to your posts

Posted 12-02-2014 at 06:23 AM by rtmistler
Updated 08-30-2018 at 11:37 AM by rtmistler

In LQ it is beneficial to use [code][/code] tags around your code.

All you need to do is to border your code with the [code][/code] tags and the result will appear as following:
Code:
#include <stdio.h>

int main()
{
 ...
}
Do I have to type the tags in, or are there widgets to help me with this?
In Advanced edit mode the # (number sign) icon will assist you with this, it will add tags around selected text, or add tags where you can then type in, or...
Moderator
Posted in LQ Information
Views 2756 Comments 0 rtmistler is offline

  



All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration