# StylePtr links

**URL:** <https://crucible.hubbe.net/t/styleptr-links/286>\
**Category:** The Crucible\
**Created:** [April 22, 2021, 7:12am UTC](https://crucible.hubbe.net/t/styleptr-links/286 "2021-04-22T07:12:22Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 22, 2021, 7:12am UTC](https://crucible.hubbe.net/t/styleptr-links/286/1 "2021-04-22T07:12:22Z")

</div>

In most cases, when you paste a blade style, it will now automatically link to the style editor, like this:

StylePtr\<InOutHelper\<SimpleClash\<Lockup\<Blast\<OnSpark\<Sparkle\<Gradient\<Blue,Cyan,Green,GreenYellow,Yellow,Orange,Red\>,FloralWhite,100,700\>,Cyan,1200\>,White,200,100,400\>,AudioFlicker\<Blue,White\>,AudioFlicker\<Blue,White\>\>,White,40\>,200,400,Black\>\>()

Please let me know if it’s causing any problems.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 22, 2021, 7:46am UTC](https://crucible.hubbe.net/t/styleptr-links/286/2 "2021-04-22T07:46:34Z")

</div>

test  
**EDIT** the following (spaced to avoid the issue)  
StylePtr \< Black \> ( )  
is coming out like this:

StylePtr()

and it’s not a link to editor.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 22, 2021, 7:49am UTC](https://crucible.hubbe.net/t/styleptr-links/286/3 "2021-04-22T07:49:20Z")

</div>

test 2

StylePtr\<Layers\<AudioFlicker\<BrownNoiseFlicker\<Mix\<SwingSpeed\<400\>,RotateColorsX\<Variation,Rgb\<100,100,150\>\>,RotateColorsX\<Variation,Rgb\<150,150,225\>\>\>,Stripes\<5000,-300,RotateColorsX\<Variation,Rgb\<25,25,55\>\>,RotateColorsX\<Variation,Rgb\<75,75,120\>\>,RotateColorsX\<Variation,Rgb\<10,10,20\>\>,RotateColorsX\<Variation,Rgb\<50,50,75\>\>\>,300\>,RotateColorsX\<Variation,Rgb\<35,35,75\>\>\>,LockupTrL\<Layers\<AlphaL\<AudioFlickerL\< White \>,Bump\<Scale\<BladeAngle\<\>,Scale\<BladeAngle\<0,16000\>,Int\<4000\>,Int\<26000\>\>,Int\<6000\>\>,Scale\<SwingSpeed\<100\>,Int\<14000\>,Int\<18000\>\>\>\>,AlphaL\<White,Bump\<Scale\<BladeAngle\<\>,Scale\<BladeAngle\<0,16000\>,Int\<4000\>,Int\<26000\>\>,Int\<6000\>\>,Int\<10000\>\>\>\>,TrConcat\<TrInstant,White,TrFade\<400\>\>,TrConcat\<TrInstant,White,TrFade\<400\>\>,SaberBase::LOCKUP\_NORMAL\>,ResponsiveLightningBlockL\<Strobe\<White,AudioFlicker\<White,Blue\>,50,1\>,TrConcat\<TrInstant,AlphaL\<White,Bump\<Int\<12000\>,Int\<18000\>\>\>,TrFade\<200\>\>,TrConcat\<TrInstant,HumpFlickerL\<AlphaL\<White,Int\<16000\>\>,30\>,TrSmoothFade\<600\>\>\>,ResponsiveStabL\<Red,TrWipeIn\<600\>,TrWipe\<600\>\>,ResponsiveBlastL\<White,Int\<400\>,Scale\<SwingSpeed\<200\>,Int\<100\>,Int\<400\>\>,Int\<400\>\>,ResponsiveClashL\<White,TrInstant,TrFade\<400\>,Scale\<BladeAngle\<0,16000\>,Int\<4000\>,Int\<26000\>\>,Int\<6000\>,Int\<20000\>\>,LockupTrL\<AlphaL\<BrownNoiseFlickerL\<White,Int\<300\>\>,SmoothStep\<Int\<30000\>,Int\<5000\>\>\>,TrWipeIn\<400\>,TrFade\<300\>,SaberBase::LOCKUP\_DRAG\>,LockupTrL\<AlphaL\<Mix\<TwistAngle\<\>,Red,Orange\>,SmoothStep\<Int\<28000\>,Int\<5000\>\>\>,TrWipeIn\<600\>,TrFade\<300\>,SaberBase::LOCKUP\_MELT\>,InOutTrL\<TrWipe\<1400\>,TrWipeInSparkTip\<White,500\>,Black\>,TransitionEffectL\<TrConcat\<TrInstant,AlphaL\<BrownNoiseFlickerL\<White,Int\<30\>\>,SmoothStep\<Scale\<SlowNoise\<Int\<2000\>\>,Int\<1000\>,Int\<4000\>\>,Int\<-4000\>\>\>,TrDelay\<2000\>\>,EFFECT\_RETRACTION\>,TransitionEffectL\<TrConcat\<TrWipe\<1000\>,AlphaL\<Mix\<BatteryLevel,Red,Green\>,SmoothStep\<BatteryLevel,Int\<-10\>\>\>,TrDelay\<2000\>,AlphaL\<Mix\<BatteryLevel,Red,Green\>,SmoothStep\<BatteryLevel,Int\<-10\>\>\>,TrWipeIn\<1000\>\>,EFFECT\_BATTERY\_LEVEL\>\>\>()

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 22, 2021, 7:51am UTC](https://crucible.hubbe.net/t/styleptr-links/286/4 "2021-04-22T07:51:30Z")

</div>

It looks like StylePtr \< Black \> () doesn’t come out right even without my new hack. (Because it looks like HTML)  
The only way I can seem to make it work properly is to use the triple-backtick, but that also disables the auto-linking.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 22, 2021, 7:52am UTC](https://crucible.hubbe.net/t/styleptr-links/286/5 "2021-04-22T07:52:55Z")

</div>

Indeed.  
\< white \> also does it.  
The style I posted above does link to the editor, where it complains about AudioFlickerL because it’s color is missing.  
It works if spaces are added 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 22, 2021, 8:00am UTC](https://crucible.hubbe.net/t/styleptr-links/286/6 "2021-04-22T08:00:01Z")

</div>

Test: StylePtr()

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 22, 2021, 8:06am UTC](https://crucible.hubbe.net/t/styleptr-links/286/7 "2021-04-22T08:06:05Z")

</div>

The way it interprets HTML makes it difficult to post styles properly.  
[pre] and triple-backquote works fine, but I’m not sure I can get auto-linking to work there.  
Looks like I’m going to have to dig deeper.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 22, 2021, 8:06am UTC](https://crucible.hubbe.net/t/styleptr-links/286/8 "2021-04-22T08:06:40Z")

</div>

It’s a cool feature.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 22, 2021, 5:55pm UTC](https://crucible.hubbe.net/t/styleptr-links/286/9 "2021-04-22T17:55:15Z")

</div>

I may have found a way to make this work better.  
However, I’m going to have to do a little maintenence, so if the cruicible goes down for a little bit it’s just me messing with it.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 23, 2021, 3:45am UTC](https://crucible.hubbe.net/t/styleptr-links/286/10 "2021-04-23T03:45:37Z")

</div>

Ok, so messing with discourse is slow and difficult.  
I tried introducing a small change by changing the github repository to my fork, but it just didn’t want to work. It also didn’t tell me why, and each attempt takes like 5 minutes… Which is why the crucible has been down for a few hours today.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 26, 2021, 11:31pm UTC](https://crucible.hubbe.net/t/styleptr-links/286/11 "2021-04-26T23:31:15Z")

</div>

I added a theme component that throws up a warning if you try to post style templates without using backticks. This will solve the disappearing tag problem, but I will need to write a better auto-linkify theme component as the current one doesn’t work on pre-formatted code.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 26, 2021, 11:37pm UTC](https://crucible.hubbe.net/t/styleptr-links/286/12 "2021-04-26T23:37:56Z")

</div>

Hmm, it does seem to kind of work on pre-formatted code.  
At least if that pre-formatted code is posted as a single line…

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 27, 2021, 12:15am UTC](https://crucible.hubbe.net/t/styleptr-links/286/13 "2021-04-27T00:15:59Z")

</div>

Ok, I think multi-line styles work properly now:

```auto
StylePtr<Layers<
  Layers<
    Gradient<Blue,Cyan,Green,GreenYellow,Yellow,Orange,Red>,
    SparkleL<FloralWhite,100,700>,
    OnSparkL<Cyan,Int<1200>>>,
  BlastL<White>,
  LockupL<AudioFlicker<Blue,White>>,
  SimpleClashL<White>,
  InOutHelperL<InOutFuncX<Int<200>,Int<400>>>>>()

```

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 27, 2021, 9:16am UTC](https://crucible.hubbe.net/t/styleptr-links/286/14 "2021-04-27T09:16:33Z")

</div>

test

```auto
StylePtr<Layers<
  Red,
  ResponsiveLockupL<White,TrInstant,TrInstant,Int<26000>>,
  ResponsiveLightningBlockL<White>,
  ResponsiveMeltL<Mix<TwistAngle<>,Red,Yellow>>,
  ResponsiveDragL<White>,
  ResponsiveClashL<White,TrInstant,TrFade<200>,Int<26000>>,
  ResponsiveBlastL<White>,
  ResponsiveBlastWaveL<White>,
  ResponsiveBlastFadeL<White>,
  ResponsiveStabL<White>,
  InOutTrL<TrWipe<300>,TrWipeIn<500>>>>()

```

`StylePtr<Black>()`

Sweet! Thanks @profezzorn

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [February 7, 2022, 6:21am UTC](https://crucible.hubbe.net/t/styleptr-links/286/15 "2022-02-07T06:21:31Z")

</div>

Should these links point to the beta page now?

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [February 7, 2022, 6:54am UTC](https://crucible.hubbe.net/t/styleptr-links/286/16 "2022-02-07T06:54:40Z")

</div>

At some point I should probably just copy the beta file over to the regular file.  
It seems to be working pretty well right now, but I do have more features I want to add.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [February 7, 2022, 10:37pm UTC](https://crucible.hubbe.net/t/styleptr-links/286/17 "2022-02-07T22:37:54Z")

</div>

Does seem to be working well indeed. Do you think the buttons area is getting crowded, maybe could use dropdown menus or subgrouping? I’m not sure you plan on including ALL the things.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [February 7, 2022, 10:47pm UTC](https://crucible.hubbe.net/t/styleptr-links/286/18 "2022-02-07T22:47:34Z")

</div>

Which button area? (Also, we have a thread specifically for such questions.)

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [February 8, 2022, 3:09am UTC](https://crucible.hubbe.net/t/styleptr-links/286/19 "2022-02-08T03:09:58Z")

</div>

moving to there.
