aspose file tools*
The moose likes Ranch Office and the fly likes Tags - how do you do that Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Tags - how do you do that" Watch "Tags - how do you do that" New topic
Author

Tags - how do you do that

LeeAnne Murphy
Greenhorn

Joined: Aug 15, 2011
Posts: 18

I wanted to post code I need help with but I don't know how to use tags to make it easier for everyone to help. Will someone explain it to me please?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9995
    
    7

When you post/reply, notice the row of buttons on top of the text area? There is a button called "code".
Select your copy pasted code and click the code button. Use the preview button at the bottom to confirm you got it correct.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
LeeAnne Murphy
Greenhorn

Joined: Aug 15, 2011
Posts: 18

I tried that and when I previewed it didn't look any different than if I was to just paste the code I have in here. To make sure I understand do I paste the code first then click on the "code" button?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9995
    
    7

Yes.
Paste your code.
select it
click code button. You will notice the code and /code tags enclosed in [] inserted at the start and end of the code.
Submit.
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4246
    
    7

You can also just type the code tags, if you have difficulties getting the right results with the button. See UseCodeTags for an example.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9995
    
    7

Thanks Matthew. I couldn't find that link and I was (unsuccessfully) trying to print the tags here.
LeeAnne Murphy
Greenhorn

Joined: Aug 15, 2011
Posts: 18

Let us continue the discussion of the actual code problem here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tags - how do you do that
 
Similar Threads
Comments
scriptlets to tags
core java programming doubts
Help Please!!!
converting from txt to html