Feature #3870

Add "spoiler" or "cut" element to wiki markup

Added by Andrew Chaika about 8 years ago. Updated almost 2 years ago.

Status:ClosedStart date:2009-09-15
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:-
Resolution:Duplicate

Description

Add ability to insert html element that in default state hide their content.
Syntax may be:

  <spoiler>
  This text is hidden by default
  </spoiler>

This might be useful for example to hide rails logs.

spoiler.htm Magnifier (2.26 KB) Andrew Chaika, 2009-10-01 07:44


Related issues

Duplicates Redmine - Feature #12167: Macro for inserting collapsible block of text Closed

History

#1 Updated by Eric Davis about 8 years ago

  • Category set to Wiki

How would this work? Would there be a link to show/hide the hidden content?

#2 Updated by Andrew Chaika about 8 years ago

Something like this spoiler.htm

#3 Updated by Alexey Ponomarev over 6 years ago

That would be nice to see this feature in one of the further releases.

#4 Updated by Pavel Sokolov almost 6 years ago

+1

#6 Updated by Alex Alex over 3 years ago

+1

#7 Updated by Alex Alex over 3 years ago

+1

#9 Updated by Sergey Startsev almost 2 years ago

Michael Zakharenko wrote:

may be collapse macro helps ?

http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting#Macros

+1

#10 Updated by Sergey Startsev almost 2 years ago

I suggest to close the ticket in cause of macro existence

#11 Updated by Go MAEDA almost 2 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

As Michael Zakharenko and Sergey Startsev wrote, this can be done with {{collapse}} macro implemented by #12167 (Redmine 2.2). I am closing this issue.

Thanks for pointing it out.

#12 Updated by Go MAEDA almost 2 years ago

  • Duplicates Feature #12167: Macro for inserting collapsible block of text added

Also available in: Atom PDF