While we're discussing the forum and markdown, is there a way to add a line break to one's actual input text (meaning... not <br>, I know that one) within a reply? This would apply to @unixrab's question (making lists within replies would otherwise only be possible with HTML tags), but I'm more interested in blockquotes for replies... Quoting is easily handled in markdown, but delimited with a line break. Your CSS makes for pretty blockquotes, which would come in handy when responding to people...
Quoting is easily handled in markdown, but delimited with a line break (here I'd like to begin a response without being inside the blockquote)@katylava@brhfl
@unixrab Interesting that <quote>blah blah unfair!</quote> fails too, I actually hadn't tried that for whatever reason and was pondering it as I wrote my post.
@katylava heh.. short replies. Most of the time I'm writing the response in VIM and then copying it to the text area with the HTML coding that I want ! :-)
@brhfl I was surprised <li> works. I was surprised <br> works (@hart showed me that one). I'm guessing they are whitelisted by the preprocessor we're using, and <quote> isn't.
@jsh139 I vi every single day... you have no idea how many times in these forums I've typed ESC $ or ESC ^ or xp to switch two letters... or / to find a word in this line...
@Thumperchick@unixrab I do it just about every day. I also turn an imaginary key when starting or stopping the engine (car has a push-button start). :facepalm:
@jsh139@unixrab@Thumperchick Any time I'm forced to drive an auto, it takes me several minutes to figure out how to turn it on with no clutch to depress first. I just look around and step randomly like a confused dog. Once I get the car started, things are fine, but that initial 'wait where are all the pieces' gets me. Also, after years of driving a Saab, sometimes I think I've lost my keys (to the obviously running car) when I don't see them by the shifter.
@katylava - so my use of <li> WITHOUT the initial list designators ( <ol> or <ul> ) is breaking the star and edit functions because <li> is used extensively in the code and it throws off the underlying <li> elements ... ("Reply" "Edit" "Delete" are all <li> elements :
There's probably no quick fix for that... just have to stop using <li> alone... It would be a tricky routine to exclude any rogue <li> that aren't immediately preceded with <ul> or <ol> and then closed properly
@unixrab I wrote my response below while you were still sandboxing it up, so you wrote yours at the same time. I'm not deleting mine, though, because... it's probably the biggest thing I'll have accomplished today.
I just posted a lengthy question/explanation based on this comment being broken by @unixrab, but deleted it because… well, it, too, broke things! And I'm not going to retype it all because it looks like we got to the same conclusion - presumably you weren't wrapping lists in a <ul> or <ol> tag. Looking at the HTML on the aforementioned comment, comments are list items, replies are list items inside their comments, with the class 'reply' as well as some other stuff. If you want to insert a list, obviously that should show up in your reply, in the list item that contains your reply. But without putting it in an ordered or unordered list element, it broke things. Your list items ended up on the same level as the <li class="reply"> list items, only without that class, and without any of the other reply/comment related goods. That looks like it breaks things, which... is to be expected. I guess, ideally, the preprocessor would look for <li> tags in the comment that don't belong to <ul>, <ol>, or <dl> tags, and just... assume they should be wrapped in a <ul>.
Can you guys tell I don't want to be at work today?
@brhfl They'll all be like... "why are all these responses in here!?? This is not an interesting thread!" [our responses to each other are like bad GOTO statements !! ] :-)
man ... I thought you'd star those to show you didn't suck eggs... but it's cool. I'm not threatened by your lifestyle choices... but star this one if I'm completely wrong
@unixrab I cheated so as to not be known as an egg-sucker. Fixed the offending HTML in Chrome's web inspector, starred posts, set down eggs, took screenshot. Did I mention I don't feel like working today?
@unixrab I thought I saw it on my Mac last night, but I might have been on my (Windows) tablet. Will check tonight, simply because I'm a curious cat. Bug renders the same on IE9, btw, which… well, I'm just impressed by the consistency.
@brhfl@unixrab@katylava I see no stars on those replies in Chrome or Safari on Mac. Mobile Safari on iPad 6 does not show the stars. Mobile Safari on iPhone 6 shows the stars in portrait orientation but not in landscape orientation.
@SSteve@unixrab Interestingly (I say that loosely) the stars seem to show up in either orientation on my iPhone 5. Slightly different resolution affecting the responsive design?
@brhfl@ssteve how does the preprocessor know the resolution of the end device?? is that coded somewhere (we're on iPhone5 so your max resolution is a b c d e ) ?
@unixrab AFAIK, The (markdown) preprocessor doesn't, but the general layout is dictated by resolution. There's a call to define the viewport in a <script> in <head>, which uses 576 wide as the cutoff, and defines the viewport accordingly. From there, I think there's some clever CSS dictating how things fall into place, as well as some js that changes some things to mobile-specific classes. That guess is based on two things: fighting the world's worst coders' ideas of 'responsive design' at a gov't agency, and briefly scanning through this page in the Chrome web inspector well after hitting my Ballmer peak. So, take it with a grain of salt!
Maybe not this one
So none of the above posts can be edited or starred. (this one can)
me, @shawn, and @harrison.
in the meantime, you can use markdown -- just prefix list items with
-
(line begins with dash; space after dash, before text)@katylava cool thanks
@unixrab
- list item
- list item
- list item
@unixrab hmmm
- test
- ting
While we're discussing the forum and markdown, is there a way to add a line break to one's actual input text (meaning... not <br>, I know that one) within a reply? This would apply to @unixrab's question (making lists within replies would otherwise only be possible with HTML tags), but I'm more interested in blockquotes for replies... Quoting is easily handled in markdown, but delimited with a line break. Your CSS makes for pretty blockquotes, which would come in handy when responding to people...
@brhfl ^^this.. yes. I've been using < p > but it continues the block quote even if I specify < quote > text text < /quote >
@brhfl none that i know of.
@brhfl @unixrab not sure, but i think using a text input for replies, instead of a textarea, is to encourage short replies.
@unixrab Interesting that <quote>blah blah unfair!</quote> fails too, I actually hadn't tried that for whatever reason and was pondering it as I wrote my post.
@katylava Yeah, I realize that and agree with the sentiment. It'd still be nice to have a less ugly way to quote people than
"I love purple" - @barney
Me too, buddy, me too.
@katylava heh.. short replies. Most of the time I'm writing the response in VIM and then copying it to the text area with the HTML coding that I want ! :-)
@brhfl I was surprised
<li>
works. I was surprised<br>
works (@hart showed me that one). I'm guessing they are whitelisted by the preprocessor we're using, and<quote>
isn't.@unixrab starred for "vim"
@brhfl agreed > "me too buddy, me too"
now I'm just using this thread as a sandbox ;-)
@katylava
vi is so much faster with the keyboard shortcuts!
:/g /thisword/thatword/
REGEX FTW! :-)@brhfl
lol@unixrab Real OGs use vi. !wq
@jsh139 :ZZ ! :-)
@unixrab meant to type :wq but you get the idea. Same as ZZ. It's been a while :)
@jsh139 I vi every single day... you have no idea how many times in these forums I've typed ESC $ or ESC ^ or xp to switch two letters... or / to find a word in this line...
@unixrab vimium won't help you with form inputs, but it at least makes j/k scroll down/up and
/
find on the page@unixrab I hear ya. It's like driving a stickshift car for years and then getting into one with an automatic and slamming your left foot on the floor.
@jsh139 lol that's soo funny... I've done that!
@katylava
mind blown THANKS!
@jsh139
I thought I was the only one who'd done that.
@Thumperchick @unixrab I do it just about every day. I also turn an imaginary key when starting or stopping the engine (car has a push-button start). :facepalm:
@jsh139 It's been years and my right hand doesn't know how to not shift... it wants a job, damnit!
@jsh139 @unixrab @Thumperchick Any time I'm forced to drive an auto, it takes me several minutes to figure out how to turn it on with no clutch to depress first. I just look around and step randomly like a confused dog. Once I get the car started, things are fine, but that initial 'wait where are all the pieces' gets me.
Also, after years of driving a Saab, sometimes I think I've lost my keys (to the obviously running car) when I don't see them by the shifter.
@nooneanywhere
Lorem Ipsum
@unixrab ahh.. I think I have it. it's < blockquote > text text < /blockquote > < p >
more stuff
@unixrab ahh.. I think I have it. it's
< p >more stuff
@unixrab
Nice find @unixrab!
@Thumperchick
indeed!@Thumperchick this is going to make the responses soooo much "funnnnner" ;-)
interesting.
Also, you can use </gt instead of inserting spaces.
@brhfl got it. thx
@unixrab
Cool! Thanks for sussing that out.
@SSteve word
that helps
Pro tip: you can use backticks around HTML tags to prevent them from being parsed. For the most part... it get's weird with URLs in backticks.
@katylava
<p>
ORLY?<blockquote>
HANDY! Thanks @katylava@katylava Oh, right, that's shorthand for
<code>
blocks, I suppose!@katylava
@unixrab
@unixrab
@unixrab to create an unordered list:
<ul><li>test</li><li>4</li><li>5</li><li>6</li></ul>
to create an ordered(numbered) list
<ol><li>test</li><li>4</li><li>5</li><li>6</li></ol>
enjoy
@katylava - so my use of
There's probably no quick fix for that... just have to stop using<li>
WITHOUT the initial list designators (<ol>
or<ul>
) is breaking the star and edit functions because<li>
is used extensively in the code and it throws off the underlying<li>
elements ... ("Reply" "Edit" "Delete" are all<li>
elements :<li>
alone... It would be a tricky routine to exclude any rogue<li>
that aren't immediately preceded with<ul>
or<ol>
and then closed properly@thumperchick @brhfl : to create an unordered list:
<ul><li>test</li><li>4</li><li>5</li><li>6</li></ul>
to create an ordered(numbered) list
<ol><li>test</li><li>4</li><li>5</li><li>6</li></ol>
enjoy
- test
- 4
- 5
- 6
:-)@unixrab I wrote my response below while you were still sandboxing it up, so you wrote yours at the same time. I'm not deleting mine, though, because... it's probably the biggest thing I'll have accomplished today.
@brhfl me too ;-)
I just posted a lengthy question/explanation based on this comment being broken by @unixrab, but deleted it because… well, it, too, broke things! And I'm not going to retype it all because it looks like we got to the same conclusion - presumably you weren't wrapping lists in a
<ul>
or<ol>
tag. Looking at the HTML on the aforementioned comment, comments are list items, replies are list items inside their comments, with the class 'reply' as well as some other stuff. If you want to insert a list, obviously that should show up in your reply, in the list item that contains your reply. But without putting it in an ordered or unordered list element, it broke things. Your list items ended up on the same level as the<li class="reply">
list items, only without that class, and without any of the other reply/comment related goods. That looks like it breaks things, which... is to be expected. I guess, ideally, the preprocessor would look for<li>
tags in the comment that don't belong to<ul>
,<ol>
, or<dl>
tags, and just... assume they should be wrapped in a<ul>
.Can you guys tell I don't want to be at work today?
@brhfl heh... did you see above I wrote virtually the same thing to @katylava Here.
@unixrab Yeah, just did, and responded up there. This thread is going to be real fun for all the non-nerds to stumble upon…
@brhfl They'll all be like... "why are all these responses in here!?? This is not an interesting thread!" [our responses to each other are like bad GOTO statements !! ] :-)
I can star everything in this thread, so I don't know what unixrab on about.
@medz
@medz
@medz
@unixrab i did, but will remove later for egg sucking comment. Using Chrome on phone portrait view. Chrome on PC worked too
@medz I don't see stars under any of my eggsucking comments... you do?
@unixrab I see no stars on those replies. And the star on the main comment has that rendering problem I've seen a few times.
@unixrab
Do I win 10 free sleeves, or..? ;)
@brhfl which browser/platform are you seeing those stars on?
@unixrab I cheated so as to not be known as an egg-sucker. Fixed the offending HTML in Chrome's web inspector, starred posts, set down eggs, took screenshot. Did I mention I don't feel like working today?
@unixrab
@unixrab Interestingly, it seems to break less on smaller versions of the same renderer due to something in the responsive design…
iPhone
…and even the mobile device simulator in Chrome on Windows.
@brhfl hmmm... it's isolated to actual Chrome browser on a PC - I assume mac is not affected, I don't have access to one.
@unixrab I thought I saw it on my Mac last night, but I might have been on my (Windows) tablet. Will check tonight, simply because I'm a curious cat. Bug renders the same on IE9, btw, which… well, I'm just impressed by the consistency.
@brhfl cool!
@brhfl @unixrab @katylava I see no stars on those replies in Chrome or Safari on Mac. Mobile Safari on iPad 6 does not show the stars. Mobile Safari on iPhone 6 shows the stars in portrait orientation but not in landscape orientation.
@SSteve the plot thickens!
@SSteve Well.. if they can't find it after all that troubleshooting... It CAN'T be found :-)
@SSteve @unixrab Interestingly (I say that loosely) the stars seem to show up in either orientation on my iPhone 5. Slightly different resolution affecting the responsive design?
@brhfl @ssteve how does the preprocessor know the resolution of the end device?? is that coded somewhere (we're on iPhone5 so your max resolution is a b c d e ) ?
@unixrab AFAIK, The (markdown) preprocessor doesn't, but the general layout is dictated by resolution. There's a call to define the viewport in a
<script>
in<head>
, which uses 576 wide as the cutoff, and defines the viewport accordingly. From there, I think there's some clever CSS dictating how things fall into place, as well as some js that changes some things to mobile-specific classes. That guess is based on two things: fighting the world's worst coders' ideas of 'responsive design' at a gov't agency, and briefly scanning through this page in the Chrome web inspector well after hitting my Ballmer peak. So, take it with a grain of salt!Hey, you guys know that the pagination doesn't work on these threads, right?
@phatmass you're too funny
@phatmass Pagination works on iPhone 3g in landscape position using atomic web browser
@unixrab An atomic browser - that is what you use to make the threads go nuclear - right?
favorite thread this week.
Welcome to the Internet!
Hello, !
We are so glad you are here!
By finding busy work for the IT department, @unixrab is making a pretty strong push for February goat.
It would actually by his fault if the website crashes.
@Kevin