issues
search
clragon
/
swan
bring elegance to your flutter discussions
https://discord.gg/rflutterdev
MIT License
3
stars
0
forks
source link
improve stackoverflow mirror
#2
Closed
clragon
closed
10 months ago
clragon
commented
10 months ago
Rough outline for the idea:
check if text is over 2000 chars
detect all codeblocks
cut all code blocks to 200 chars, store full text in map
cut the entire text to 2000 chars
check which code blocks are still present
upload the full text of all cut code blocks which are still present to pastebin
add titles with links to all cut code blocks
check if the message exceeds 2000, then cut the code blocks to reach 2000
create files with the title and full text
post message
Rough outline for the idea: