Tag Info

Hot answers tagged

11

You could add the code to something like Pastebin; http://pastebin.com/ and then share it as a link. Hope this helps.


10

Em space works! I've finally cracked this indentation issue in Google+. I use em space and Google+ doesn't simply remove/replace it. It stays there. The only problem is how do you type it out? Its Unicode code is U+2003 but there's not any keyboard shortcut... How I used it is: Open Character Map. Change options to display By Unicode Block. Select ...


8

Google+ doesn't offer many formatting options. At best it offers a very watered down version of Markdown, with only bold, italic, and strikethrough. So unless and until Google adds more options you're out of luck. The only other possible option would be to create a GIF with the text of your code and include that in your post.


6

http://code.reloado.com/#javascript,html http://codemagic.gr http://codepen.io/ http://cssdesk.com (no JavaScript support) http://liveweave.com http://plnkr.co/edit http://tinkerbin.heroku.com


6

Alex Gorbatchev's SyntaxHighlighter is one of the most commonly used by software-related blogs for code highlighting. It lists several blogs that provide steps how to integrate it with the Blogger service.


4

It does work, you are mostly likely placing a block after a list. Consider separating it with a header --- #include<stdio.h> int main() ^ Four spaces Will turn into this in your card #include<stdio.h> int main()


4

Try Google Prettify. This is exactly what is used on StackExchange sites. There is also good tool here, that would generate a HTML block for you with some fancy formatting.


4

Per the Terms of Service: If you create a project on the Website, then you are the owner of that account and all Content stored therein. Unfuddle.com and Unfuddle will not disclose any of your Content unless required to do so by court order or other legal action. It is clearly your property, and they would not have any rights to use your code. They can ...


3

GitHub's gist service has a rather neat embedding tool and recognises loads of different languages. I've use this to embed code snippet occasionally. Also anything based around GeSHi works great, I've had good experiences with the CodeColorer plugin for wordpress.


2

Google have apparently recently made a change to Google+ whereby the spaces at the beginning and/or end of a line for both posts and comments is retained rather than discarded, which was the previous behavior. I just tested it and it works.


2

I made a tool for converting code to Google+ compatible code. You find it at http://www.claudiodangelis.it/projects/googlepluscodeindenter Here an example post: https://plus.google.com/u/0/115859961800127275872/posts/Sg9aSkCwTft Hope this helps.


2

We watch carefully for any fraudulent use of Dropbox public links and will suspend suspicious links when they are detected. Links that use up more than 20 GB/day for Basic (free) accounts and 200 GB/day for Pro and Teams (paid) accounts are automatically suspended. From Dropbox help.


2

Either surround the code by backticks (`) for smaller segments of code, or make sure that each line begins with a tab or at least four spaces.


1

After some experimenting with Zapier, I've managed to create a "zap" (i.e. automatic handler) that does the following: Suppose you're working on a feature which has the following Trello card: https://trello.com/c/NuSGfssX/ You push a commit to Bitbucket, which commit message contains tr(NuSGfssX), e.g.: hg ci -m "Finished the very important feature ...


1

Finally found the answer here: http://daringfireball.net/projects/markdown/syntax#code using markdown is outdated, its not as easy as just using Gist haha, think I'll keep that route... they should really work on their tools.


1

It will only work in the card description, it doesn't work in the card comments.


1

Go to Mail settings and then click on Forwarding POP/IMAP. Click on Add a forwarding address A popup window will appear to enter the email address where you want the emails to be forwarded to. Enter your Facebook email address. A new popup will appear to tell you that the confirmation code has been sent to your Facebook address. Login to your Facebook ...


1

I would consider retrying. It could be that you are not using the correct email address. I received the following after trying phwd@gmail.com may now forward mail to phwd@facebook.com. As well as a notice at the top after enabling forwarding You are forwarding your email to phwd@facebook.com. This notice will end in 7 days.Review Settings Learn ...


1

I use ⠂ to specify indent: function factorial(x) { ⠂var result = 1; ⠂while(x > 1) { ⠂⠂result *= x; ⠂⠂x--; ⠂} ⠂return result; }


1

I use the SyntaxHighlighter plugin. It works well, is simple to use, and supports a good variety of languages. See an article on my site for example output.


1

No need for a plugin. All Wordpress Setups come with this option available (unless you change the default setup). Just enclose it as follows: <code>function foo() { return "bar"; }</code> You can find it below.


1

Try NET2JAVA OR a commercial solutuion tangiblesoftwaresolutions


1

I like John Skeet's Code Formatter on his C# in Depth blog


1

There is a guide on how you can do this here: http://codeblog.kello.se/2009/01/07/getting-code-formatting-with-syntax-highlighting-to-work-on-blogger/ It's based on syntaxhighlighter which you can read more on here http://code.google.com/p/syntaxhighlighter/



Only top voted, non community-wiki answers of a minimum length are eligible