# Hide #:id something in the left panel column in scribble

**URL:** <https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937>\
**Category:** Questions & Answers\
**Created:** [September 8, 2025, 1:40pm UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937 "2025-09-08T13:40:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Post date:** [September 8, 2025, 1:40pm UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937/1 "2025-09-08T13:40:32Z")

</div>

hi,

another question in documenting infix in the prefix world of scribble 🙂

```scheme
@defform[#:id \: {T[begin : end]}]{
Slicing of vectors or strings.
}

@codeblock|{
{"elephant"[2 : 5]}
"eph"
}|

@defform[#:id :: {T[begin : end : step]}]{
begin,end,step are optional, see the Python language documentation for informations and use.
}

```

in the above code i wanted to make appear the : slice symbol in the left frame of the doc and it is ok but i do not want to see it anymore in the next defform, so i find a way to get rid of it: if i put a non existing symbol in my syntax ,that is :: as #:id :: ,effectively i get rid of it in the left column, i suppose scribble do some check and find it anormal.

but this is completely a hack not be sure to work in the next release of scribble

so my question is , is there a way to hide it in a more normal way?

regards,

---

<div class="post-metadata">

**Author:** ![bakgatviooldoos](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/bakgatviooldoos/32/1381_2.png) [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Post date:** [September 9, 2025, 8:42pm UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937/2 "2025-09-09T20:42:38Z")

</div>

Hi, @damien_mattei.

I only fiddled with this for a couple of minutes, so forgive my ignorance.

Maybe if you use a [`defform*`](https://docs.racket-lang.org/scribble/doc-forms.html#%2528form._%2528%2528lib._scribble%252Fmanual..rkt%2529._defform%252A%2529%2529)?

```scheme
@defform*[#:id :
          ({T[begin : end]}
           {T[begin : end : step]})]{
 Slicing of vectors or strings.
 @racket[begin], @racket[end], @racket[step] are optional, see the Python language documentation for informations and use.
}

@codeblock|{
{"elephant"[2 : 5]}
"eph"
}|

```

This shows the following when rendered:

 ![image](https://global.discourse-cdn.com/free1/uploads/racket/original/2X/a/abd72bc3e9df91e31b245052face490d9f1ddd2a.png)

I have never used this before, though, so take with salt to taste.

---

<div class="post-metadata">

**Author:** ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Post date:** [September 9, 2025, 10:27pm UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937/3 "2025-09-09T22:27:55Z")

</div>

Hi @bakgatviooldoos ,

thank for your help,grouping the doc lines in defform\* seems the conventional presentation for racket doc, and perheaps i should do it like that,but the advantage,with my non conventional solution is i can present each options with his separate set of examples (and without presenting the : multiple times in the left frame):

 ![scribble](https://global.discourse-cdn.com/free1/uploads/racket/original/2X/a/ac2a57d3b4f1e44b641d12581f5193cba8fe995c.png)

i do not think it could be presented this way in scribble in a regular way indeed... 🤔

---

<div class="post-metadata">

**Author:** ![usao](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/usao/32/1375_2.png) [@usao](https://racket.discourse.group/u/usao)\
**Post date:** [September 11, 2025, 2:07am UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937/4 "2025-09-11T02:07:11Z")

</div>

I think `#:link-target? #f` should work.

> Unless `link-target?-expr` is specified and produces `#f`, the `id` (or result of `id-expr`) is indexed, and it is also registered so that [`racket`](https://docs.racket-lang.org/scribble/scribble_manual_code.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._racket%29%29)-typeset uses of the identifier (with the same for-label binding) are hyperlinked to this documentation.

---

<div class="post-metadata">

**Author:** ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Post date:** [September 11, 2025, 8:18am UTC](https://racket.discourse.group/t/hide-id-something-in-the-left-panel-column-in-scribble/3937/5 "2025-09-11T08:18:17Z")

</div>

> [@usao](#):
>
> I think `#:link-target? #f` should work.

yes this works, and it must be written before `#:id` which can then also be removed without causing the previous error:

```scheme
@defform[#:link-target? #f #:id \: {T[begin : end : step]}]{
@racket[begin], @racket[end], @racket[step] are optional, see the Python language documentation for informations and use.
}

```
