mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
14 lines
7.5 KiB
JavaScript
14 lines
7.5 KiB
JavaScript
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":"/en/guide/markdown/github-alerts/","title":"GitHub Alerts | Guide","lang":"en-US","frontmatter":{"title":"GitHub Alerts","icon":"mdi:alert-outline","createTime":"2025/11/29 19:59:45","permalink":"/en/guide/markdown/github-alerts/","description":"GitHub-Style Alerts The theme supports rendering GitHub-style alerts through callouts. They are rendered in the same way as . Input: Output: Note Highlights information that use...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"GitHub Alerts\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2026-02-14T10:14:19.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/en/guide/markdown/github-alerts/"}],["meta",{"property":"og:site_name","content":"Plume Theme"}],["meta",{"property":"og:title","content":"GitHub Alerts"}],["meta",{"property":"og:description","content":"GitHub-Style Alerts The theme supports rendering GitHub-style alerts through callouts. They are rendered in the same way as . Input: Output: Note Highlights information that use..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2026-02-14T10:14:19.000Z"}],["meta",{"property":"article:modified_time","content":"2026-02-14T10:14:19.000Z"}],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://theme-plume.vuejs.press/guide/markdown/github-alerts/"}]]},"readingTime":{"minutes":0.52,"words":155},"git":{"createdTime":1764559833000,"updatedTime":1771064059000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":2,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"5930c6046224ee0b95a4f05fb60bf3e6e5b7957f","time":1771064059000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: improve docs"},{"hash":"db8a46eb4cdc6c4bcb15f0e38a5aacfef565975a","time":1764559833000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: optimize and completion docs (#766)"}]},"autoDesc":true,"filePathRelative":"en/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-style-alerts`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#github-style-alerts`},[s(`span`,null,`GitHub-Style Alerts`)])],-1),s(`p`,null,[l[1]||=a(`The theme supports rendering `,-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-style alerts`,-1),l[3]||=a(` through callouts. They are rendered in the same way as `,-1),r(m,{href:`./container.md`},{default:e(()=>[...l[0]||=[a(`hint containers`,-1)]]),_:1}),l[4]||=a(`.`,-1)]),l[6]||=o(`<p><strong>Input:</strong></p><div class="language-md line-numbers-mode" data-highlighter="shiki" data-ext="md" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-md"><span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> [</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">!NOTE</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#2E808F;--shiki-dark:#5D99A9;"> Highlights information that users should take note of even when skimming.</span></span>
|
|
<span class="line"></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> [</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">!TIP</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#2E808F;--shiki-dark:#5D99A9;"> Optional information to help users be more successful.</span></span>
|
|
<span class="line"></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> [</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">!IMPORTANT</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#2E808F;--shiki-dark:#5D99A9;"> Crucial information necessary for users to succeed.</span></span>
|
|
<span class="line"></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> [</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">!WARNING</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#2E808F;--shiki-dark:#5D99A9;"> Critical content demanding immediate user attention due to potential risks.</span></span>
|
|
<span class="line"></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> [</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">!CAUTION</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span></span>
|
|
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">></span><span style="--shiki-light:#2E808F;--shiki-dark:#5D99A9;"> Advises about negative outcomes from specific actions.</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p><strong>Output:</strong></p><div class="hint-container note"><p class="hint-container-title">Note</p><p>Highlights information that users should take note of even when skimming.</p></div><div class="hint-container tip"><p class="hint-container-title">Tips</p><p>Optional information to help users be more successful.</p></div><div class="hint-container important"><p class="hint-container-title">Important</p><p>Crucial information necessary for users to succeed.</p></div><div class="hint-container warning"><p class="hint-container-title">Warning</p><p>Critical content demanding immediate user attention due to potential risks.</p></div><div class="hint-container caution"><p class="hint-container-title">Caution</p><p>Advises about negative outcomes from specific actions.</p></div>`,8)])}var f=c(u,[[`render`,d]]);export{l as _pageData,f as default}; |