Spoiler Html Code



Currently we allow the following HTML tags in comments.

To place a tag in code without closing, use < and > instead of, to override this behavior. Disqus supports the ability to hide text in your comment using spoiler tags. SpoilerHello, worldspoiler Hides text until hovered over or clicked on. Related articles. Syntax highlighting; Spoiler tags. ⚜️ Tip: When inline code itself contains a backtick, or a fenced code block itself contains a code fence, the interior backticks and fences can cause the code region to close early. In these cases, the fences can be adjusted to accommodate the code. The rest of this section is about dealing with corner cases. Consider the following example. The Largest Collection of TV spoilers and show information for the most popular shows on TV. Code Black (386) Colony (245) Comic-Con (1175) Community (1237). Hello I was wondering how to make spoiler text on a website with html/css. What I was is, text that is black with black background, but when hovered over, makes the black text turn white, making it.

Single tags

These tags can be used alone and don't need an ending tag.

  • <br> Defines a single line break

Matching tags

These require an ending tag, e.g., <i>italic text</i>

  • <a href='https://disqus.com'> Defines an anchor link
  • <strong> or <b> Defines bold text
  • <blockquote> Defines a long quotation
  • <em> or <i> Defines italic text
  • <strike> or <s> Defines strikethrough text
  • <p> Defines a paragraph
  • <span> Defines a section in a document
  • <caption> Defines a table caption
  • <cite> Defines a citation

Spoiler Button Html Code

Spoiler html codeSpoiler Html Code

Text Formatting

Rather than having to manually add markdown syntax to your comments to format text, you can now use text formatting shortcuts within the comment box.

To use this, you can click on a formatting option, and type the text you wish to be formatted inside the tags that are added.

Alternatively, you can highlight the word that you want to format, and then select the desired formatting.

Here are the current supported formats:

  • Bold
  • Italics
  • Underline
  • Strikethrough
  • Hyperlink
  • Code
  • Blockquote

Syntax Highlighting

Spoiler html code

Disqus supports automatic syntax highlighting in a number of languages. To use this feature, place your code inside <pre><code> tags. For example:

By default, Disqus will try to automatically detect the language. It's pretty good at this, but you can give it a hand by doing the following:

Supported languages

  • Bash
  • Diff
  • JSON
  • Perl
  • C#
  • HTML/XML (Note: You must first HTML-encode these tags to display them)
  • Java
  • Python
  • C++
  • HTTP
  • JavaScript
  • Ruby
  • CSS
  • Ini
  • PHP
  • SQL
Spoiler Html Code

Note: Syntax highlighting will automatically close tags. To place a tag in code without closing, use &#60; and &#62; instead of < and >, to override this behavior.

Spoiler tag

Disqus supports the ability to hide text in your comment using spoiler tags.

Spoiler Html Codes

<spoiler>Hello, world</spoiler> Hides text until hovered over or clicked on

Related articles





Comments are closed.