Skip to content

Commit

Permalink
chore: remove GitHub-style Alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ub committed Oct 6, 2024
1 parent 9add943 commit f4f3426
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 60 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"dayjs": "^1.11.13",
"fast-glob": "^3.3.2",
"i18next": "^23.15.2",
"nprogress": "^0.2.0",
"remark-github-alerts": "0.1.0-beta.3"
"nprogress": "^0.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.3.2",
Expand Down
38 changes: 0 additions & 38 deletions playground/src/content/pages/posts/markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,44 +28,6 @@ Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptio

Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

## Alerts

### Syntax

```markdown
> [!NOTE]
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]
> Crucial information necessary for users to succeed.

> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.
```

### Output

> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.
## Images

### Syntax
Expand Down
15 changes: 0 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/components/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import WrapperDemo from './WrapperDemo.astro'
import WrapperPost from './WrapperPost.astro'
import '@unocss/reset/tailwind.css'
import 'remark-github-alerts/styles/github-colors-light.css'
import 'remark-github-alerts/styles/github-colors-dark-class.css'
import 'remark-github-alerts/styles/github-base.css'
import '../styles/main.css'
import '../styles/prose.css'
import '../styles/markdown.css'
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type { AstroIntegration } from 'astro'
import type { PluginTranslations, VitesseUserConfigWithPlugins } from './utils/plugins'

import mdx from '@astrojs/mdx'
import remarkGithubAlerts from 'remark-github-alerts'
import { vitesseSitemap } from './integrations/sitemap'
import { vitePluginVitesseUserConfig } from './integrations/virtual-user-config'
import { processI18nConfig } from './utils/i18n'
Expand Down Expand Up @@ -94,7 +93,6 @@ export default function VitesseIntegration({
],
},
markdown: {
remarkPlugins: [remarkGithubAlerts],
shikiConfig: {
themes: {
dark: 'vitesse-dark',
Expand Down

0 comments on commit f4f3426

Please sign in to comment.