At bottom of reply block:
Use Markdown with GitHub-flavored code blocks. (link)
If I put them inside a block wrapped in three ticks, it separated the lines but made this giant colorful block that's a bit much for small chunks:
That's how it's done.
I noticed I could do a simple code block (with GitHub-type markdown) like this:
$var = 'whatever';
But if I wanted to do two or more lines, that would strip the newlines out, putting them all onto one line like this:
$var2 = 'whatever2';
$var3 = 'whatever3';
If I separate each line with two newlines, it doesn't strip out the newlines:
$var2 = 'whatever2';
$var3 = 'whatever3';
If I put them inside a block wrapped in three ticks, it separated the lines but made this giant colorful block that's a bit much for small chunks:
$var = 'whatever';
$var2 = 'whatever2';
$var3 = 'whatever3';
I'm not seeing how to just show the simple inline code formatting with just a few lines that doesn't show too few or too many newlines! Is this possible?!
Please or to participate in this conversation.