![]() |
|
|
#1 |
|
"Mike"
Aug 2002
200408 Posts |
We are experimenting with an inline code tag.
The regular code block tags work okay for chunks of code. This tag will be for smaller inline chunks. Please test it and let us know how to make it better. [c]code[/c] |
|
|
|
|
|
#2 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
426710 Posts |
This is testing the code tags. Testing again, something with some characters like ["<>";!```] And with some
inline, it still looks okay. I wonder if the $\$-based tex tags$ are still on and how they interact with the new $code tags$ $and in reverse$? Yep, all looks good to me.
|
|
|
|
|
|
#3 |
|
"Mike"
Aug 2002
25·257 Posts |
The link parser should not work inside these new tags.
Test: http://www.mersenne.org/ Smilies should not work either. Test: :mike: |
|
|
|
|
|
#4 |
|
Jun 2003
505310 Posts |
How does it handle newlines: Hello
World Works like a champ! Is there anything the new tag can't do that the old one could? |
|
|
|
|
|
#5 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
look like the pastebin tag ? edit:sorry misread for some reason. though ou have to admit it looks like the pastebin tag lol
Last fiddled with by science_man_88 on 2016-01-12 at 17:17 |
|
|
|
|
|
#6 |
|
"/X\(‘-‘)/X\"
Jan 2013
55648 Posts |
|
|
|
|
|
|
#7 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
102538 Posts |
Quote:
Large blocks of code or other unformatted text are likely more difficult to read since they are ignoring my beginning- and end-of-line spacing and it doesn't seem there's a way to keep very long things on one line, and it doesn't eventually scroll in any direction like the block [code] tag does, so if I go on for a long time like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis enim eu tortor pharetra molestie. Phasellus commodo ex erat, vel consequat dui tempus ac. Nulla facilisi. Sed laoreet velit id mauris sagittis sollicitudin. Vestibulum ultricies nunc id libero vestibulum, fringilla auctor felis facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin tempus sagittis dui. Integer tincidunt nec metus id luctus. Curabitur lobortis velit tortor. Nullam venenatis, justo quis eleifend pellentesque, urna magna ullamcorper felis, sed rhoncus tortor ante at metus. Ut id gravida velit, vitae tristique lacus. Ut id commodo nisl. Nam efficitur rutrum dolor, at accumsan ligula rhoncus non. Quisque vel bibendum metus. Sed nec diam vehicula, sagittis elit quis, ultrices magna. Donec faucibus ante ut metus tempus, cursus lacinia risus suscipit. Phasellus sed nisi justo. Suspendisse sollicitudin ligula sed laoreet laoreet. Phasellus efficitur posuere elit, in pellentesque sem gravida at. Duis eget erat vitae mauris vehicula tincidunt. Nullam tincidunt nibh id nisl convallis, vitae porta neque porttitor. Nunc pulvinar risus at pretium scelerisque. Nunc vel metus dui. Duis vel pellentesque lacus. Aliquam condimentum ullamcorper volutpat. Aliquam neque ligula, pretium ut consectetur sit amet, finibus porttitor libero. Suspendisse sagittis ultrices eros vitae porta. Nullam arcu libero, varius vitae mi ut, lobortis auctor sem. Vestibulum venenatis quis tellus feugiat varius. Donec ipsum mauris, ultrices eu ex in, euismod bibendum quam. Curabitur quis nunc venenatis erat finibus accumsan quis a massa. Donec consectetur tincidunt lorem, at elementum ipsum tempus ut. Duis urna risus, fringilla id augue ut, fermentum suscipit justo. Suspendisse potenti. Sed a arcu hendrerit, porta eros at, mollis nisl. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tellus nibh, egestas id dolor in, ultrices tempor tortor. Aenean bibendum, nunc eget porta faucibus, nulla nisi aliquet lorem, sit amet maximus sem velit sed nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque malesuada egestas sapien id pretium. Morbi tempor, justo porta facilisis tristique, libero enim rhoncus ligula, non ultricies dui neque consequat nulla. You can also see (in Firefox, at least) a little more border below and above my text because I have the [ c ] and [ / c ] on their own lines. The old [code] tag is still better for something you want block-formatted or is very long, but [c] looks great for inline or some other short code. Last fiddled with by Mini-Geek on 2016-01-12 at 18:46 |
|
|
|
|
|
|
#8 |
|
"Mike"
Aug 2002
25×257 Posts |
Do we need to tweak the colors or anything like that?
|
|
|
|
|
|
#9 |
|
"/X\(‘-‘)/X\"
Jan 2013
22·733 Posts |
|
|
|
|
|
|
#10 |
|
"Mike"
Aug 2002
822410 Posts |
The current green is #2e8b57. Can you tell us your desired color in that format?
We removed the line around the text, adjusted the padding and changed the background color to one of the template colors. Any of these can be reverted if necessary. Opinions?
|
|
|
|
|
|
#11 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
Quote:
I agree that something darker, like #153, would be better. It would also be better to move that CSS from an inline style to a class defined wherever you define your CSS (it looks like most of it is inline to the page on this site, which isn't ideal from a caching/bandwidth perspective, as opposed to in one or more external css files). Last fiddled with by Mini-Geek on 2016-01-13 at 00:38 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfaktc: potentially unsafe inline asm | Fredrik | GPU Computing | 9 | 2016-01-15 22:29 |
| How do you bypass YouTube ads? | Stargate38 | Lounge | 16 | 2013-02-20 22:46 |
| Why does GCC inline asm need a clobber list? | ewmayer | Programming | 60 | 2011-12-31 21:52 |
| YouTube | davieddy | Soap Box | 0 | 2011-01-10 03:27 |
| Spoiler and Center tags do not play well together | wblipp | Forum Feedback | 1 | 2008-02-03 19:39 |