문제

Possible Duplicate:
How do I format my code blocks?

This is my very first post on SO and I have a quick question... In order to post a code block it says to indent by four spaces. Does this mean I have to indent every line of code 4 spaces? I feel like I'm missing something here. What's the best way to just copy and paste some code (java and xml) into a post and have it blocked and formatted (without having to edit each and every line I've pasted)???

도움이 되었습니까?

해결책

Paste the code into the text area then highlight the code and click on the Code Sample {} button.

See How do I format my code blocks?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top