Hidden text (spoiler)

2023.02.23 ยท FAQ

You can make text/media hidden (shown when clicked โ€” spoiler) in Telepost in several formatting options:

Bot

In the bot, the spoiler is supported in all modes:

  • Native โ€” just select the text/media and choose Format โ†’ Spoiler from the pop-up menu: image image

  • Markdown โ€” wrap in paired characters ||:

    Next will be ||spoiler||
    
  • HTML โ€” wrap in tag <tg-spoiler></tg-spoiler> or <span class="tg-spoiler"></span>:

    <tg-spoiler>spoiler</tg-spoiler>
    

    or

    <span class="tg-spoiler">spoiler</span>
    

Web UI

In the web version, you can make a spoiler in the following ways:

  • usual mode editor โ€” select the text and formatting and format as in the screenshot below: image

    Text will be visible, but highlighted in yellow: image

  • Markdown mode editor โ€” wrap in paired characters ||: image