![]() |
|
|
#1 |
|
"Mike"
Aug 2002
200408 Posts |
We have implemented a new BB Code that allows you to embed a Pastebin snippet.
It allows syntax highlighting and a bunch of other features that we barely understand. We hope this enhancement will make listing logs and code snippets on the forum much easier. We are not sure how many pixels to give it for height. Right now it is set for 500 pixels. Suggestions are appreciated. If this does not work for you please let us know! Please try to break it. So we can try to fix it. |
|
|
|
|
|
#2 |
|
"Mike"
Aug 2002
25×257 Posts |
|
|
|
|
|
|
#3 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
947810 Posts |
|
|
|
|
|
|
#4 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23×3×5×72 Posts |
This could start a new style of posting on the forum. I like it.
Not fond of how it looks if your code has less lines than the size of the box. Seems a waste of space. Does it need to be a fixed size? Last fiddled with by henryzz on 2015-10-17 at 17:42 |
|
|
|
|
|
#5 |
|
"Mike"
Aug 2002
100000001000002 Posts |
|
|
|
|
|
|
#6 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
Quote:
https://developer.mozilla.org/en-US/docs/Web/CSS/length |
|
|
|
|
|
|
#7 |
|
"Mike"
Aug 2002
100000001000002 Posts |
That option only shows six lines.
That option shows six lines no matter what percentage it is set for. Maybe we need to tune the height in pixels? Suggestions? |
|
|
|
|
|
#8 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
Last fiddled with by science_man_88 on 2015-10-18 at 14:33 |
|
|
|
|
|
|
#9 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
140648 Posts |
iframes are usually used for adverts. And AFAIK you can't get the height of the contents of the iframe because it acts like a new window inside the page. And each window can't communicate with each other, for security reasons.
|
|
|
|
|
|
#10 | |
|
"Mike"
Aug 2002
822410 Posts |
Quote:
|
|
|
|
|
|
|
#11 |
|
"Mike"
Aug 2002
25·257 Posts |
The embed code that was working is broken.
![]() Code:
<iframe src="http://pastebin.com/embed_iframe.php?i={param}" style="border:none;width:100%;"></iframe>
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NFS@Home msieve logs for pastebin url | pinhodecarlos | NFS@Home | 357 | 2021-07-16 00:52 |
| Code Help | Andrew | Programming | 12 | 2013-02-16 20:53 |
| New Code | JohnFullspeed | Programming | 20 | 2011-09-04 04:28 |
| A little help with VBS code | IronBits | No Prime Left Behind | 6 | 2008-11-12 14:23 |
| pastebin - collaborative debugging tool | axn | Programming | 0 | 2007-12-14 01:48 |