?>
I want to do something for this site's 10th birthday in a month and ten days
GTX0 NewestRepliesHottestMy Active
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


The [doc] tag
Posted: Posted October 16th, 2017 by Xhin
Edit Report Thread Views

This lets you highlight pieces of a long piece of text far far easier.

Simple usage:

[doc]
I am a \test\
Yes I \am\
[/doc]


I am a test
Yes I am


Basically, it highlights everything surrounded by backslashes in yellow. I chose the backslash because it's easy to type and isn't being used elsewhere.

Change highlight formatting

[doc:e+b]
I am a \test\
Yes I \am\
[/doc]


I am a test
Yes I am


This basically surrounds each piece with [e][b][/e][/b]. You use the + sign to add multiple tags in there, and you can use any of GTX0's shortcodes, including longer ones like [youtube].

Change delimiters

If you don't want to use the backslash, you can optionally set your own left delimiter and right delimiter after a second colon:

[doc:e+b:()]
I am a (test)
Yes I (am)
[/doc]


I am a test
Yes I am


If you don't want to change formatting also, just leave that section blank, ie [doc::()].

There are 13 Replies
Page:
1 2 Load all posts
settingsSettings

Moonray can do
too!
WEEEEEE
eeeee
But will it
anything this time?



Edited October 16th, 2017 by Moonray
Edit Filter Quote Report

Reacts kinda how you would expect if you throws lots of tags into it :P

Moonray can do tests too! WEEEEEEeeeeeeeeee
But will it break anything this time?


Moonray can do tests too! WEEEEEEeeeeeeeeee
But will it break anything this time?


Edited October 16th, 2017 by Moonray
Edit Filter Quote Report

Any chance you could make the ** tag compatible with ha?

Posted October 16th, 2017 by Moonray
Edit Filter Quote Report

that first message though


what is wrong with you

Posted October 16th, 2017 by Xhin
Edit Filter Quote Report
Xhin
Sky's the limit


I am a test
Yes I am


[doc:b:()]
[doc:u:[]]
I wonder (does it [nest])?
[/doc]
[/doc]

EDIT:

[doc:b:()]

I wonder (does it nest)? How about now?

[/doc]

Edited October 16th, 2017 by Kohlrak
Edit Filter Quote Report

Did i break it?

Posted October 16th, 2017 by Kohlrak
Edit Filter Quote Report

Very few tags nest


with the possible exception of this


Edited October 16th, 2017 by Xhin
Edit Filter Quote Report
Xhin
Sky's the limit

@Moonray: put ha first and it will work. Actually if you want to work with ** at all, always put it last. (or innermost if you're doing this stuff manually:

[doc:ha+**]
Hello \Moonray\
[/doc]


Hello Moonray


Edited October 16th, 2017 by Xhin
Edit Filter Quote Report
Xhin
Sky's the limit

I'm not sure what to make of how it responds when it doesn't nest, though.

Posted October 16th, 2017 by Kohlrak
Edit Filter Quote Report

Weird, I tried ** last and it didn't work which was why I swapped to have it at the front.

Posted October 16th, 2017 by Moonray
Edit Filter Quote Report

Well I fixed the tag mirroring issue probably in between your tests.

Edited October 16th, 2017 by Xhin
Edit Filter Quote Report
Xhin
Sky's the limit

xhin: “i have created this newborn feature w my own hands for you all to enjoy”
moonray: *cracks knuckles* “i am going to break it into dirt-sized pieces or die trying”

Posted October 16th, 2017 by susurrous
Edit Filter Quote Report

Sign of a good debugger.

Posted October 16th, 2017 by Kohlrak
Edit Filter Quote Report
Load next page Load rest of pages
Site Rules | Complaints Process | Give Feedback Facebook Page
GTX0 © 2009-2019 Xhin GameTalk © 1999-2008 lives on
You are not forgotten, Kevin, Liane, Norma, Jason, and Garrett