Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

HTML tag support tracker

Đang mở
#63 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@kevinaboos đang làm issue này rồi.

Từ ngày 9/4/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

tracking

This issue tracks which Html tags are supported (both parsed and displayed fully correctly) in rich Html message content.

For more info, see the list of supported Html tags and attributes in the Matrix spec the newest v1.13 spec's list of supported Html tags and attributes.

  • Headers: h1, h2, h3, h4, h5, h6
  • b, strong: bold
  • i, em: italic/emphasis
  • u: underline
  • del/strike: strikethrough/cross-out
  • p: paragraph
  • hr: horizontal rule, separator
  • br: line break, new line
  • blockquote
  • ul
  • ol
    • start
  • li
  • pre: code blocks
    • class="language-*" for syntax highlighting
      • This is blocked on Makepad's upcoming support for syntax highlighting
  • code: inline code
  • font
    • color
    • data-mx-color
    • data-mx-bg-color
  • span
    • data-mx-bg-color
    • data-mx-color
    • data-mx-spoiler: #274
  • a: hyper links
    • href
      • Note: href value must not be relative, must have a scheme matching one of: https, http, ftp, mailto, magnet
      • web clients should add a `rel="noopener"``attribute
    • name — this is explicitly not supported
    • target — this is explicitly not supported
  • sup
  • sub: is parsed correctly, but doesn't always display properly
  • div: i think this is only used for the new latex math feature (which we need to support in span too)
  • table: implemented by https://github.com/makepad/makepad/pull/1032
    • caption -- a table caption
    • thead -- a table header (the first row, typically column labels)
    • tbody -- a table body (rows that come after the thead table header)
    • tr -- a table row
    • th -- a table column header (the left-most cell in a row)
    • td -- a table data cell
  • img: inline images
    • width
    • height
    • alt
    • title
    • src
  • details: an expandable view that shows a summary when closed and the full content when open.
    • summary: the short content viewable when details is closed.
  • mx-reply: see issue https://github.com/project-robius/robrix/issues/82
Ngôn ngữ chính
Rust
Star
489
Fork
71
Merge trung bình
1 giờ 27 phút
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của project-robius/robrix

Tất cả issue của project-robius/robrix

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.