Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

News: Details: The new Code Editor for BBCodes

redhat

Administrator
Staff member
Administrator
Joined
Jun 19, 2019
Messages
3,467
Reaction score
17,063
Points
134
Location
root[@]woi
Features


182662



Custom title and lines highlighting

You can now specify a custom code block header title. For example, users can provide a filename for code blocks instead of writing it in the text or putting the whole code block inside a spoiler with filename title.

Moreover, you can even highlight certain lines!

Custom title and lines to be highlighted can be set via "Insert code" dialog:


197063



You can also set the title and lines to highlight directly in text editor by adding title="..." and highlight="..." parameters in code bbcode.

Example:
Code:
<? .... ?>
will produce this codeblock:


182669



Hovering custom title will show the code language:


182670



Example of highlighting:
Code:
a log of code...


197064



Expand/Collapse buttons

Expand button smoothly increasing the height of code block until all the code is showing. It is visible only when code block height is LESS than the actual code size.

Collapse button smoothly decreasing the height of code block to it's default height which you can set in style properties. It is visible only when code block height is LARGER than default code block height.


182671



Both expand and collapse buttons are visible when code block height is within min and max limits and invisible on code blocks that are smaller than default code block height.

The default height of code block can be set in style properties ("Code" section below "Messages"):


182677



Copy button

Copy button simply copy the code right into your clipboard:


182673



Line numbers

All code blocks have line numbers (up to 1000 lines). Line numbers can be turned off via style properties:


182674



Resizer

Every code block which code height is larger than the default height has a resizer bar. It allows users to vertically resize code block:


182675
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top