Need help? Check out our Support site, then

a good way to post sourcecode?

  1. I'm thinking about starting a kind of source-blog, where i post some interesting code, short programs, that kind of thing.

    the problem is, i don't want all that code to show up in the main view, so i need someway of hiding it. Either a 'more..' tag that expands text into the main view (i belive lj has this kinda option) or the ability to upload text files and link to them. I guess if worse comes to worse, i'll just host it somewhere else and link to it : (, but that doesn't seem elegant.

    any ideas?

  2. looks like there is a way to format posts in here, using backticks:

    int main(int argv,char **argv) {<br /> printf("do backticks work?");<br /> }

    but i haven't found a way to do that from the blog posts, and that still doesn't solve the problem of me hiding parts of it from main view initially.

  3. <br /> #include <stdio.h></p> <p>int main(int argc, char *argv[])<br /> {<br /> printf("Hello, world\n");</p> <p> return 0;<br /> }</p> <p>

  4. <br /> #include<stdio.h><br /> int main(int argc, char *argv[])<br /> {<br /> printf("Hello, world\n");<br /> return 0;<br /> }<br />

Topic Closed

This topic has been closed to new replies.

About this Topic