Esc

comark-github

Write > [!NOTE], @user,

Playground

Note

Drafts save every few seconds, so closing the tab keeps your work.

Tip

Press ⌘K to search every document.

Important

Releases ship from main only.

Warning

Changing the slug breaks links people already shared.

Caution

Deleting a folder deletes every document in it.

Three plugins, each one on its own:

  • callouts() draws GitHub's five alerts with an icon, a color, and a title. Text after the marker on its line replaces the title. Comark's built-in alert plugin only tags the quote with its type and leaves the drawing to you.
  • references({ repo }) links @user to the profile and #123 or owner/name#123 to the issue or pull request, as GitHub does in comments.
  • html() renders raw HTML the way GitHub does: its tags and attributes stay, scripts and anything else it doesn't allow go. Comark renders all raw HTML as written.