The present is theirs; the future, for which I really worked, is mine.
- Nikola Tesla
Hey goats. You can now quote text.
To quote a message simply insert
two one '>' with the quoted text after it. The quote will end when you insert a line break.
It's a simple feature but it was a bitch to implement, working with strings in PHP is torture.
I am going to try to get it down to one '>' but this works for now.
[ + ] MuricaPersonified
[ - ] MuricaPersonified 2 points 2.7 yearsAug 10, 2021 09:00:29 ago (+2/-0)
Remove the automatic quotation marks; those are the comment writer's responsibility.
Now how do I do hyperlinks on this site?
[ + ] GrayDragon
[ - ] GrayDragon 2 points 2.7 yearsAug 10, 2021 07:03:45 ago (+2/-0)*
Gay
Gay
E: "... working with strings in PHP is torture ..."
Want me to write it for you? lol. Not working. I figure PHP supports RegExs. It is not overly hard.
[ + ] system
[ - ] system [op] 2 points 2.7 yearsAug 10, 2021 07:24:41 ago (+2/-0)
[ + ] GrayDragon
[ - ] GrayDragon 1 point 2.7 yearsAug 10, 2021 08:04:00 ago (+1/-0)*
I just don't want to lead you down the wrong road.
If the users' don't know how to use it right, fuck them. They will learn. Don't go overboard.
E: In other words "adjust it to support multiple breaks" is a nightmare.
E2: If the first character on any given newline starts with a greater-than sign, it is a quote UNTIL the CR. Replace all. That is it. Nothing fancy. Poal and Reddit I think work that way.
[ + ] rhy
[ - ] rhy 2 points 2.7 yearsAug 10, 2021 05:33:44 ago (+2/-0)
[ + ] system
[ - ] system [op] 2 points 2.7 yearsAug 10, 2021 06:37:08 ago (+2/-0)
[ + ] AloisH
[ - ] AloisH 2 points 2.7 yearsAug 10, 2021 04:03:00 ago (+3/-1)
[ + ] PuttitoutIsGone
[ - ] PuttitoutIsGone 1 point 2.7 yearsAug 10, 2021 06:46:54 ago (+1/-0)
-PuttItoutIsgone
[ + ] mikenigger
[ - ] mikenigger 1 point 2.7 yearsAug 10, 2021 05:46:16 ago (+1/-0)
[ + ] system
[ - ] system [op] 0 points 2.7 yearsAug 10, 2021 06:12:22 ago (+0/-0)
[ + ] heygeorge
[ - ] heygeorge 0 points 2.7 yearsAug 10, 2021 06:59:20 ago (+0/-0)
https://github.com/erusev/parsedown was the first link that popped up, but there are many!
https://stackoverflow.com/questions/5116187/how-to-parse-markdown-in-php
[ + ] system
[ - ] system [op] 0 points 2.7 yearsAug 10, 2021 07:19:43 ago (+0/-0)
I actually saw this one and was faced with the choice of learning it or learning how to do it manually. I went the manual route and I think I have it down. It's not fun though so maybe I'll see what it's about.
[ + ] v0atmage
[ - ] v0atmage 0 points 2.7 yearsAug 10, 2021 09:44:38 ago (+0/-0)
[ + ] Kozel
[ - ] Kozel 0 points 2.7 yearsAug 10, 2021 16:57:59 ago (+0/-0)
- nigger
[ + ] Paradoxical003
[ - ] Paradoxical003 0 points 2.7 yearsAug 10, 2021 16:54:39 ago (+0/-0)
If only he knew what fate had in store for him.
He was assassinated you know, he was.
[ + ] account deleted by user
[ - ] account deleted by user 0 points 2.7 yearsAug 10, 2021 16:31:31 ago (+0/-0)
[ + ]deleted
[ - ] deleted 0 points 2.7 yearsAug 10, 2021 16:29:44 ago (+0/-0)
[ + ] KCobain27
[ - ] KCobain27 0 points 2.7 yearsAug 10, 2021 14:39:18 ago (+0/-0)
-Me
[ + ] Garrett
[ - ] Garrett 0 points 2.7 yearsAug 10, 2021 11:31:38 ago (+0/-0)
[ + ]deleted
[ - ] deleted 0 points 2.7 yearsAug 10, 2021 11:07:19 ago (+0/-0)
[ + ] Ragnar
[ - ] Ragnar 0 points 2.7 yearsAug 10, 2021 09:17:45 ago (+0/-0)
[ + ] HughBriss
[ - ] HughBriss 0 points 2.7 yearsAug 10, 2021 09:01:58 ago (+0/-0)
[ + ]deleted
[ - ] deleted 0 points 2.7 yearsAug 10, 2021 09:01:38 ago (+0/-0)
[ + ] PuttitoutIsGone
[ - ] PuttitoutIsGone 0 points 2.7 yearsAug 10, 2021 06:43:50 ago (+0/-0)
-Dial
[ + ] Ragnar
[ - ] Ragnar 0 points 2.7 yearsAug 10, 2021 09:18:47 ago (+0/-0)
[ + ]deleted
[ - ] deleted 0 points 2.7 yearsAug 10, 2021 05:26:16 ago (+0/-0)
[ + ]deleted
[ - ] deleted 0 points 2.7 yearsAug 10, 2021 05:26:00 ago (+0/-0)
[ + ] AloisH
[ - ] AloisH 0 points 2.7 yearsAug 10, 2021 04:02:09 ago (+0/-0)
[ + ] system
[ - ] system [op] 3 points 2.7 yearsAug 10, 2021 05:48:39 ago (+3/-0)
[ + ] AloisH
[ - ] AloisH -2 points 2.7 yearsAug 10, 2021 07:13:21 ago (+0/-2)
[ + ] 3starAgent
[ - ] 3starAgent 0 points 2.7 yearsAug 10, 2021 03:35:30 ago (+2/-2)