Communities

(DEV) Codidact Meta
(DEV) Codidact Meta
(DEV) Writing
(DEV) Writing
Proposals
Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
« Back to help center

Advanced formatting help

Posts on Codidact, including questions, answers, articles, tag wikis, help pages, and user profiles, support the use of the following HTML tags:

  • a
  • p
  • span
  • b
  • i
  • em
  • s
  • strong
  • hr
  • h1, h2, h3, h4, h5, h6
  • blockquote
  • img
  • strike
  • del, ins
  • code
  • pre
  • br
  • ul, ol, li
  • sup, sub
  • section
  • details, summary
  • table, thead, tbody, tr, th, td

These tags may have the following attributes:

  • id
  • class
  • href
  • title
  • src
  • height
  • width
  • alt
  • dir
  • lang
  • start
  • rowspan
  • colspan

Shorter text forms, such as comments, support the following HTML tags:

  • a
  • b
  • i
  • em
  • strong
  • strike
  • del
  • code

These tags may have the following attributes:

  • href
  • title

HTML tags that do not appear on this list will be stripped out and not displayed if they are included in posts or comments. The source code for supported tags in posts can be found in posts_helper.rb, and for comments in comments_helper.rb.


Much of the content of this page came from this answer by luap42.