Project

General

Profile

Actions

Feature #3870

closed

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

Feature #3870: Add "spoiler" or "cut" element to wiki markup

Added by Andrew Chaika about 17 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
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.


Files

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

Related issues 1 (0 open — 1 closed)

Is duplicate of Redmine - Feature #12167: Macro for inserting collapsible block of textClosedJean-Philippe LangActions

Updated by Eric Davis about 17 years ago Actions #1

  • Category set to Wiki

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

Updated by Andrew Chaika about 17 years ago Actions #2

Something like this spoiler.htm

Updated by Alexey Ponomarev over 15 years ago Actions #3

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

Updated by Pavel Sokolov about 15 years ago Actions #4

+1

Updated by Dev Full stack over 12 years ago Actions #6

+1

Updated by Dev Full stack over 12 years ago Actions #7

+1

Updated by Sergey Startsev almost 11 years ago Actions #9

Michael Zakharenko wrote:

may be collapse macro helps ?

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

+1

Updated by Sergey Startsev almost 11 years ago Actions #10

I suggest to close the ticket in cause of macro existence

Updated by Go MAEDA almost 11 years ago Actions #11

  • 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.

Updated by Go MAEDA almost 11 years ago Actions #12

  • Is duplicate of Feature #12167: Macro for inserting collapsible block of text added
Actions

Also available in: PDF Atom