distbin icon indicating copy to clipboard operation
distbin copied to clipboard

it's impossible to paste source code in distbin - it styles it automatically and changes it (suggestion)

Open ghost opened this issue 6 years ago • 2 comments

ghost avatar Jun 05 '19 13:06 ghost

Distbin renders input text as markdown.

You can use that to make code blocks by surrounding with triple backticks

Syntax examples: https://help.github.com/en/articles/creating-and-highlighting-code-blocks#fenced-code-blocks

Does this help with what you’re trying to do?

Example post on Distbin.com http://distbin.com/activities/e965af20-d520-4dbf-953a-35946933ee8c

gobengo avatar Jun 05 '19 15:06 gobengo

Does this help with what you’re trying to do?

Yes, thank you, but isn't it too "complicated"? One could get tired typing all those things very often, especially if using distbin exclusively for sharing code. I'd suggest adding buttons, like on github, there are buttons for: bold, italic, code, quotes, links...

ghost avatar Jun 05 '19 16:06 ghost