import{$ as e,B as t,P as n,_ as r,f as i,g as a,h as o,l as s}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as c}from"./plugin-vue_export-helper-CxTVcLa7.js";var l=JSON.parse(`{"path":"/guide/markdown/github-alerts/","title":"Github 警报 | 指南","lang":"zh-CN","frontmatter":{"title":"Github 警报","icon":"mdi:alert-outline","createTime":"2025/11/29 19:59:45","permalink":"/guide/markdown/github-alerts/","description":"GitHub 风格的警报 主题支持以标注的方式渲染 GitHub 风格的警报。它们和的渲染方式相同。 输入: 输出: 注 强调用户在快速浏览文档时也不应忽略的重要信息。 提示 有助于用户更顺利达成目标的建议性信息。 重要 对用户达成目标至关重要的信息。 注意 因为可能存在风险,所以需要用户立即关注的关键内容。 警告 行为可能带来的负面影响。","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Github 警报\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-12-01T03:30:33.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/guide/markdown/github-alerts/"}],["meta",{"property":"og:site_name","content":"Plume 主题"}],["meta",{"property":"og:title","content":"Github 警报"}],["meta",{"property":"og:description","content":"GitHub 风格的警报 主题支持以标注的方式渲染 GitHub 风格的警报。它们和的渲染方式相同。 输入: 输出: 注 强调用户在快速浏览文档时也不应忽略的重要信息。 提示 有助于用户更顺利达成目标的建议性信息。 重要 对用户达成目标至关重要的信息。 注意 因为可能存在风险,所以需要用户立即关注的关键内容。 警告 行为可能带来的负面影响。"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2025-12-01T03:30:33.000Z"}],["meta",{"property":"article:modified_time","content":"2025-12-01T03:30:33.000Z"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://theme-plume.vuejs.press/en/guide/markdown/github-alerts/"}]]},"readingTime":{"minutes":0.88,"words":263},"git":{"createdTime":1764559833000,"updatedTime":1764559833000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":1,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"db8a46eb4cdc6c4bcb15f0e38a5aacfef565975a","time":1764559833000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: optimize and completion docs (#766)"}]},"autoDesc":true,"filePathRelative":"guide/markdown/github-alerts.md","headers":[],"bulletin":false}`),u={name:`github-alerts.md`};function d(c,l,u,d,f,p){let m=t(`VPLink`);return n(),i(`div`,null,[l[5]||=s(`h2`,{id:`github-风格的警报`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#github-风格的警报`},[s(`span`,null,`GitHub 风格的警报`)])],-1),s(`p`,null,[l[1]||=a(`主题支持以标注的方式渲染 `,-1),l[2]||=s(`a`,{href:`https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts`,target:`_blank`,rel:`noopener noreferrer`},`GitHub 风格的警报`,-1),l[3]||=a(`。它们和`,-1),r(m,{href:`./container.md`},{default:e(()=>[...l[0]||=[a(`提示容器`,-1)]]),_:1}),l[4]||=a(`的渲染方式相同。`,-1)]),l[6]||=o(`
输入:
> [!NOTE]
> 强调用户在快速浏览文档时也不应忽略的重要信息。
> [!TIP]
> 有助于用户更顺利达成目标的建议性信息。
> [!IMPORTANT]
> 对用户达成目标至关重要的信息。
> [!WARNING]
> 因为可能存在风险,所以需要用户立即关注的关键内容。
> [!CAUTION]
> 行为可能带来的负面影响。输出:
注
强调用户在快速浏览文档时也不应忽略的重要信息。
提示
有助于用户更顺利达成目标的建议性信息。
重要
对用户达成目标至关重要的信息。
注意
因为可能存在风险,所以需要用户立即关注的关键内容。
警告
行为可能带来的负面影响。