2

When I use YouTrack Wiki syntax, I can use {cut} like this:

{cut Block title}
Block content
{cut}

This is very useful feature, but Wiki syntax is deprecated and I can't find something similar in YouTrack Markdown syntax.

UPD: I figured out that I can use stacktrace as language with backticks:

```stacktrace
Header text
Hidden text
```

But it works different (possibly because it was designed to work with Java stacktraces), not preserving leading whitespaces, not highlighting code, etc.

jbot
  • 23
  • 1
  • 4
  • Makrdown syntax in YouTrack has nothing similar to that. If in need of an invisible note consider leaving a private comment. – Jk1 Aug 26 '18 at 14:06
  • Private comment is not suitable because hidden text should be visible for all users. I need to hide big portion of minor information to make issue description/comment more compact – jbot Jan 16 '19 at 04:16
  • Then you'd better vote for https://youtrack.jetbrains.com/issue/JT-45636 – Jk1 Jan 19 '19 at 19:39

2 Answers2

6

In YouTrack 2019.3 it will be possible to use this (not tested personally yet):

<details>
  <summary>Brief summary</summary>
  Unnecessary long description
</details>

Implemented in https://youtrack.jetbrains.com/issue/JT-45636

alexb
  • 453
  • 4
  • 11
  • YouTrack 2019.3 also brings HTML comment support, which is somewhat closer to what's requested: `` – Jk1 Oct 17 '19 at 16:45
1

On the subject of invisible notes, I use the following which do not show at all when using Markdown:

[//]: # (COMMENT DOES NOT SHOW)

This is great if doing a default description which needs some type of instruction.