[SUGGESTION] Formatting and Embedding 02-08-2017, 05:47 PM
#1
(02-08-2017, 05:47 PM)Hoss Wrote:Formatting and Embedding
Okay, so I was thinking that some more formatting/embedding options would be very nice, it would take a bit of work, but be totally worth it in the end.
Formatting
Formatting with BBCode is fine, it's just a forum after all, but I would like to see syntax highlighting for many languages like C/C++, Python, Go, JavaScript, etc. by using a specifier on the language type (maybe use PrismJS?).
- With BBCode
Example:
Code:[code=go] This would be syntax highlighting for Go [code/]This is something I always wanted to see on forums, the option to format with Markdown instead of BBCode. I would definitely like to see GitHub flavored Markdown, but just the normal spec version would be fine too.
- With Markdown
Embedding
Sometimes it's just easier to throw a bit of code on Pastebin, or maybe it's just already there. It would be nice to have a "pastebin" bbcode tag. If this were implemented I think they should be in spoilers.
- Pastebin
Example:
Code:[pastebin=http://pastebin.com/1t71AKEb]Spoiler Text[/pastebin]IDE One is an online compiler for many different languages where you can paste your code into the browser and click run, then share a link to the mini-project with friends. This is very helpful when you are trying to help someone understand your code  or you are trying to make a tutorial and was a piece of code someone can run without downloading a compiler.
- IDE One... or something like that
Example:
Code:[ideone=http://ideone.com/uZjnq8][/ideone]
Maybe there are other things that could be embedded? Leave thoughts and suggestions below, drop a like if you think any of this is dope.
(This post was last modified: 02-08-2017, 06:57 PM by Hoss.)
this forum is dead



![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)



![[Image: inkexplosion.jpg]](http://i0.wp.com/techverse.net/wp-content/uploads/2013/09/inkexplosion.jpg)






















