Jump to content

  • Log In with Google      Sign In   
  • Create Account


StackOverflow-style markdown


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 alnite   Crossbones+   -  Reputation: 2069

Posted 11 February 2013 - 02:11 PM

Would it be hard to do to make composing posts use StackOverflow markdown?

 

If I want certain keyword to use fixed-width font, I'd use the backtick character.  So if I do this:

 

Do not use `cin` to print a text

 

It would output to:

 

Do not use cin to print a text

 

 

It'd be nice to not use this Word-style toolbar for editing posts.  It's very limiting.



Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9559

Posted 11 February 2013 - 02:18 PM

There is bbcode tag for fixed width font: [tt].

#3 alnite   Crossbones+   -  Reputation: 2069

Posted 11 February 2013 - 03:13 PM

Well, it's not limited to just fixed width font.  But also other conveniences of being able to format your posts without having to move your hands away from keyboard.

 

 

Separate issue: I also noticed a bug recently.  I used to be able to Ctrl+B and Ctrl+I for bold and italics, but not anymore.



#4 Alpha_ProgDes   Crossbones+   -  Reputation: 4688

Posted 11 February 2013 - 03:26 PM

On the separate issue, I've found the same issue with another IPS forum. So it might be something with the latest update of IPS.

 

On the original issue, it would be nice to just have the SO markdowns as keyboard shortcuts. Frankly, I'm not a fan of SO markdown.


Beginner in Game Development? Read here.
 
Super Mario Bros clone tutorial written in XNA 4.0 [MonoGame, ANX, and MonoXNA] by Scott Haley
 
If you have found any of the posts helpful, please show your appreciation by clicking the up arrow on those posts Posted Image
 
Spoiler

#5 swiftcoder   Senior Moderators   -  Reputation: 9856

Posted 11 February 2013 - 05:50 PM

Well, it's not limited to just fixed width font.

 

There are bbcodes for all the rest, too:

[b]bold[/b], [i]italic[/i], [s]strikethrough[/s], [url=http://apple.com]linking[/url], etc.

Tristam MacDonald - Software Engineer @Amazon - [swiftcoding]


#6 Michael Tanczos   Senior Staff   -  Reputation: 5182

Posted 11 February 2013 - 08:42 PM

This is the editor I'm working on.. initially it's going to be for articles though.  Ultimately I want to find a way to replace the post editor but I'm not there yet.  One of the cooler features is drag and drop image uploading for attachments.   But it not wysiwyg.. more of an html/bbcode based editor.   It does have some keyboard shortcuts as well and includes integrated syntax highlighting for code.

 

 

http://www.gamedev.net/uploads/EditorDemo.swf
 

Edited by Michael Tanczos, 11 February 2013 - 08:43 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS