gobengo / distbin

distributed social pastebin using Activitypub
https://distbin.com
Apache License 2.0
78 stars 8 forks source link

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

Open ghost opened 5 years ago

gobengo commented 5 years ago

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

ghost commented 5 years ago

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...