Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


#281239 6-Feb-2021 21:39
Send private message

Might be a stupid question but is there a code option within the BBcode ??

 

Just for putting up snippets of code etc.

 

Just curious if there is one and if not why.





Ding Ding Ding Ding Ding : Ice cream man , Ice cream man


Create new topic
Affiliate link
 
 
 

Affiliate link: LastPass securely stores your passwords and other personal data.
freitasm
BDFL - Memuneh
73969 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2648854 6-Feb-2021 23:00
Send private message

I don't know... Like, have you even tried?

 

 

<!DOCTYPE html>
<html>
<body>

 

<h2>JavaScript Operators</h2>

 

<p>In this example, y is incremented before it is assigned to x (pre-incremented).</p>

 

<p id="demo1"></p>
<p id="demo2"></p>

 

<script>
var y = 5;
var x = ++y;
document.getElementById("demo1").innerHTML = y;
document.getElementById("demo2").innerHTML = x;
</script>

 

</body>
</html>

 





Are you happy with Geekzone? Consider subscribing or making a donation.

 

 

 

freitasm on Keybase | My technology disclosure 

 

These links are referral codes: Sharesies | Mighty Ape | Norton 360 | Lenovo laptops | GoodsyncGeekzone Blockchain Project


  #2648856 6-Feb-2021 23:11
Send private message

Sorry may not have explained myself properly.

 

More sort of like this.

 

 

 

[ code] What ever code you want to put in [ /code]

 





Ding Ding Ding Ding Ding : Ice cream man , Ice cream man


freitasm
BDFL - Memuneh
73969 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2648857 6-Feb-2021 23:12
Send private message

You mean not only change to a fixed spacing font but have it in a small window that people could copy, etc?





Are you happy with Geekzone? Consider subscribing or making a donation.

 

 

 

freitasm on Keybase | My technology disclosure 

 

These links are referral codes: Sharesies | Mighty Ape | Norton 360 | Lenovo laptops | GoodsyncGeekzone Blockchain Project




  #2648858 6-Feb-2021 23:15
Send private message

freitasm:

 

You mean not only change to a fixed spacing font but have it in a small window that people could copy, etc?

 

 

Is handy being able to do a single click to copy.

 

The rest is just aesthetics really to show its code.





Ding Ding Ding Ding Ding : Ice cream man , Ice cream man


ANglEAUT
1686 posts

Uber Geek

Trusted

  #2648919 7-Feb-2021 12:18
Send private message

Back in the day, dfnt asked about "Bug: [code][/code] tags stripped when editing post"

 

I too asked a similar question previously, but can't find that thread now. 😶

 

 





Please keep this GZ community vibrant by contributing in a constructive & respectful manner.

 

RZmask referral | SmartAss


SirHumphreyAppleby
1968 posts

Uber Geek


  #2648923 7-Feb-2021 12:33
Send private message

JaseNZ:

 

freitasm:

 

You mean not only change to a fixed spacing font but have it in a small window that people could copy, etc?

 

 

Is handy being able to do a single click to copy.

 

The rest is just aesthetics really to show its code.

 

 

It's not entirely aesthetics. Copying and pasting your prime programme reminded me how much I hate Python with white space being meaningful. A straight copy and paste into vi didn't work due to the indentation.


  #2648972 7-Feb-2021 13:42
Send private message

SirHumphreyAppleby:

 

It's not entirely aesthetics. Copying and pasting your prime programme reminded me how much I hate Python with white space being meaningful. A straight copy and paste into vi didn't work due to the indentation.

 

 

Yup very true on that. 

 

Either way it is a handy option to have to be able to put up code.





Ding Ding Ding Ding Ding : Ice cream man , Ice cream man


Create new topic





News and reviews »

D-Link G415 4G Smart Router Review
Posted 27-Jun-2022 17:24


New Zealand Video Game Sales Reaches $540 Million
Posted 26-Jun-2022 14:49


Github Copilot Generally Available to All Developers
Posted 26-Jun-2022 14:37


Logitech G Introduces the New Astro A10 Headset
Posted 26-Jun-2022 14:20


Fitbit introduces Sleep Profiles
Posted 26-Jun-2022 14:11


Synology Introduces FlashStation FS3410
Posted 26-Jun-2022 14:04


Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.