unifast
  • Grundkonzepte
  • Schnellstart
  • Was ist unifast?
  • MDX verwenden
  • React-Integration
  • Syntaxhervorhebung
  • Vite-Integration
Pakete
  • escapeHtml()
  • extractLang()
  • extractText()
  • findCodeChild()
  • hastToHtml()
  • visitHast()
  • abbr()
  • accessibleEmoji()
  • addClasses()
  • autolinkHeadings()
  • breaks()
  • cjk()
  • codeImport()
  • codeMeta()
  • commentRemoval()
  • compile()
  • customHeadingId()
  • definitionList()
  • directive()
  • emoji()
  • excerpt()
  • externalLinks()
  • figure()
  • frontmatter()
  • gfm()
  • githubAlert()
  • imgLazyLoading()
  • math()
  • minify()
  • readingTime()
  • rubyAnnotation()
  • sanitize()
  • sectionize()
  • smartypants()
  • syntect()
  • toc()
  • treeSitter()
  • wikiLink()
  • createShikiPlugin()
  • createShikiTransformer()
  • highlight()
  • unifastPlugin()
  • compileToReact()
  • hastToReact()

githubAlert()

Unterstützt GitHub-artige Hinweise in Blockquotes (NOTE, TIP, WARNING usw.).

import { githubAlert } from "@unifast/node";

Signatur

function githubAlert(): UnifastPlugin

Parameter

Keine.

Verwendung

import { compile, githubAlert } from "@unifast/node";

const result = compile(md, {
  plugins: [githubAlert()],
});

Beispiele

Hinweise im GitHub-Stil

Diese Seite bearbeiten
Zurückgfm()Weitermath()

Made with ❤️ by Kenzo Wada

On this page
  • Signatur
  • Parameter
  • Verwendung
  • Beispiele
  • Hinweise im GitHub-Stil