View Single Post
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2020 , 09:17   Add some new BBCodes and improve old ones
Reply With Quote #1

I think it would be refreshing to improve the functionality of some BBCodes and add some simple new ones.

1. Add a "copy to clipboard" or "select all" button for [code], [php], [pawn] and similar tags.
  • This will make it easier to select the code inside these tags, rather than using the mouse and scrolling the entire thing while risking to make a wrong selection.



2. Add line numbering for [code], [php], [pawn] and similar tags.
  • Right now, when people give error logs, you need to copy the entire code and paste it in a text editor just to see which line is causing problems.



3. Make the [pawn] tag have a scroll bar like the [code] and [php] ones.

4. Add TAB support for [pawn] and [php] tags.
  • Right now it translates all tabs to spaces.


5. Make the [tt] tag more noticeable.



=>



HTML code here


6. Add an [api] tag that will redirect to the API documentation of the specified function..
  • E.g.: [api=amxmodx]is_user_alive[/api] will create a noticeable link that redirects to https://www.amxmodx.org/api/amxmodx/is_user_alive.
  • The same can be made for SourceMod.



AMXX HTML code here


SourceMod HTML code here
__________________

Last edited by OciXCrom; 05-24-2020 at 14:02.
OciXCrom is offline
Send a message via Skype™ to OciXCrom