8000 Allow code blocks in comments · Issue #42 · WordPress/wporg-developer-blog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow code blocks in comments #42
Open
@justintadlock

Description

@justintadlock

Currently, there's no way to add code blocks in comments on the Dev Blog. It's possible to use the <code> tag for inline code but not the <pre> tag for code blocks.

Here's an example where code is hard to read in the comments: https://developer.wordpress.org/news/2023/06/upgrading-the-site-editing-experience-with-custom-template-part-areas/#comment-1355

One thing I've been mulling over is whether it's possible that we could enable block-based comments there, similar to what was done on the support forums. If not, at least some way to add code would be super helpful.

As an aside, <ul> tags don't seem to be allowed in the comments either.

456E

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0