Dear anyone,
Your duolingo forum registration isn't automaticaly transferred to duome forum so in order to join duome forums you need to register with your existing or any other username and email; in any case it's advised that you choose a new password for the forum.
~ Duome Team

[GUIDE] How to - Spoilers in tables

These Duome Forum guides have step-by-step instructions and screenshots on how to achieve the desired results. So read the relevant ones before you ask again.


User avatar
Basler Biker
Switzerland

[GUIDE] How to - Spoilers in tables

Post by Basler Biker »

Using BBCode with pipes for the table as well as for the spoiler will fail.

But you have 2 options for tables:
And you have 2 options for spoilers:
So it's just a matter to combine 2 which are not interfering

Tables:
Spoilers: reddit style and discord style (discord style won't work)
This is a Reddit-style >!spoiler!<
This is a Discord-style ||spoiler||

Simplified table with | and a reddit style spoiler
Be sure to have a blank line before the table header line!

QA
does reddit style spoiler use pipes?no. it uses >! and !<

Full feature table [table]...[/table] with in-line reddit and discord type spoilers

Q A
Can I use discord style here YES you can use discord style using || spoiler ||
Can I use reddit style here YES you can use reddit style too using >! spoiler!<

Full feature table [table]...[/table] with reddit and reddit type multi-line spoilers)

Q A
Can I use discord style here YES you can use discord style
even multi-line, using || spoiler ||
Can I use reddit style here YES you can use reddit style too
even multi-line, using >! spoiler!<

NOTE: I couldn't find a way to - click "details" to see more...

make reddit block-spoilers work
in any of the two table types ...


BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
luo-ning

Re: [GUIDE] How to - Spoilers in tables

Post by luo-ning »

markdownpipetable
Here

are

some

details

in

[details] tags 😜

Code: Select all

markdown | pipe | table
-|-|-
[details=Here]are[/details] | [details=some]details[/details] | [details=in]`[details]` tags 😜[/details]

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Basler Biker
Switzerland

Re: [GUIDE] How to - Spoilers in tables

Post by Basler Biker »

luo-ning wrote: Wed Apr 13, 2022 6:35 pm
markdownpipetable
Here

are

some

details

in

[details] tags 😜

Code: Select all

markdown | pipe | table
-|-|-
[details=Here]are[/details] | [details=some]details[/details] | [details=in]`[details]` tags 😜[/details]

Wonderful!
(is this now all due to HTML, or HTML 2.0 or something? or is it JS or something else? WHAT makes this kind of things possible...)


BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
luo-ning

Re: [GUIDE] How to - Spoilers in tables

Post by luo-ning »

Basler Biker wrote: Wed Apr 13, 2022 7:29 pm

(is this now all due to HTML, or HTML 2.0 or something? or is it JS or something else? WHAT makes this kind of things possible...)

The rendered elements are HTML5's <details> and <summary>. No JS needed!

That's the same as what the Markdown

Code: Select all

>! some text
> more text

syntax uses under the hood.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

Post Reply

Return to “Duome's How-to Guides”