Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Handle code blocks better using github gist and possibly irccloud text snippets #11

Open
creesch opened this issue Mar 20, 2017 · 1 comment

Comments

@creesch
Copy link
Owner

creesch commented Mar 20, 2017

Currently they aren't handled at all resulting in each line being send to irc separately, making the code unreadable.

The best solution to me seems to look for code blocks and pass those to a pastebin like service.

However, since some channels likely are considered private I don't want to do this to a open service. So the only services I will build in are those that allow private/unlisted text snippets.

gist.github.com is the most obvious choice for this. Secondly I want to explore if the irccloud text snippet functionality has an api endpoint.

@Scrxtchy
Copy link

As a reference point
Gitter and Slack IRC gateways dumps code blocks as IRC lines

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants