Support for GitHub Alerts · Issue #3764 · marktext/marktext · GitHub
Skip to content

Support for GitHub Alerts #3764

Closed
Closed

Description

@jlobregon

There's a similar proposal (#1240), but it's from 2019 and doesn't talk about making them like GitHub does.

Describe your feature request

Support for using GitHub Alerts in the application: create shortcuts (like @tip or @warning) to create them and display them as in GitHub markdown files. This doesn't need to be enabled by default, because I know it's not an "original" feature of Markdown.

What problem does this feature solve?

I think this is better for simplifying the work of people who use the application as an editor for files that are then pushed to a GitHub repository (like documentation, README's, etc.).

Activity

  1. movahhedi commented on Oct 6, 2024

    @movahhedi

    Any updates?

  2. whateverzpy commented on Jan 23, 2025

    @whateverzpy

    I need this function too.

  3. PCAssistSoftware commented on Jun 17, 2026

    @PCAssistSoftware

    any chance of this happening?

  4. YounesJY commented on Sep 18, 2026

    @YounesJY

    +1, would be great to see this land — 12 reactions on this after 3 years shows there's clear demand.
    Coming from #5223, which got closed as a duplicate of this issue since it's the most specific of the related proposals (this one, #1240, #2115) — it directly asks for GitHub's actual alert syntax.
    On implementation: rather than custom shortcuts like @tip/@warning, I'd suggest supporting the standard > [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], > [!CAUTION] blockquote syntax directly — that's what GitHub itself parses, so files stay fully portable (render correctly on GitHub even outside MarkText, and vice versa). A toolbar button or slash-command could still insert the syntax for convenience, without changing what's saved to the file.
    Happy to test once there's a PR.
    Screenshot_2026-09-17-15-01-25-33_1843fd3f74f49144123f76a000cd5e7e.jpg

  5. UserSpringRoll commented on Sep 28, 2026

    @UserSpringRoll

    It adds such nice visual flair with clear color coding. Waiting on it as well 🙏

    Note

    Note details go here.

    Important

    Note details go here.

    Caution

    Note details go here.

    Tip

    Note details go here.

    Warning

    Note details go here.

  6. UserSpringRoll commented on Sep 28, 2026

    @UserSpringRoll

    In the meantime, you can use these code blocks, they work right now (tokyo night, catppuccin-mocha theme):
    click the three dots > copy this message's markdown.

    'Caution': this is a note don't forget about.
    Caution: this is a note don't forget about.
    {i} Caution: this is a note don't forget about.
    {i} Note: this is a note don't forget about.
    {i} 'Tip': this is a note don't forget about.
    {i} 'Tip': this is a note don't forget about.
  7. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions