MyBB Ideas

The MyBB Ideas site allows users to suggest new features and changes in MyBB and the MyBB Group to easily review them to decide what direction MyBB should head in. Search existing ideas.

Numbered lines in code/php tag

38 votes

Submitted by Michael83, 26th May 2007, 11:02:22 PM

It would be nice if the lines of code are numbered and if you could set the start number (optional) like you can in several other bulletin boards. Example:

[php line=25]<?php
echo "Hello world!";
?>[/php]

25 <?php
26 echo "Hello world!";
27 ?>

3 Comments

  1. ooo thats a good idea!

    Ryan Gordon, 26th May 2007, 11:48:40 PM
  2. Actually it would be nice if it started with 1 if line=x wasn't specified

    DennisTT, 11th June 2007, 7:00:22 AM
  3. I would like it, however I would definitly want the numbers OUTSIDE of the code. So then if I copy and paste, I don't have to delete the numbers :P

    nickman, 17th June 2007, 9:07:09 PM

Post a Comment

Before you can post a comment you must be a registered member of the MyBB Community Forums.

If you already have an account, log-in to it to post a comment or if you don't register a new account.