Skip to content

Commit

Permalink
chore: showcase remark-code-import
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Dec 12, 2024
1 parent 3a69d2f commit 45560ee
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playground/content/remark-code-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Below is the content of `0.index.md`

```vue [0.index.md] file=./0.index.md
```
3 changes: 3 additions & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export default defineNuxtConfig({
content: {
build: {
markdown: {
remarkPlugins: {
'remark-code-import': {},
},
highlight: {
theme: {
dark: 'aurora-x', // Theme containing italic
Expand Down
1 change: 1 addition & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dev:prepare": "nuxt prepare"
},
"dependencies": {
"remark-code-import": "latest",
"@nuxt/content": "latest",
"@nuxt/ui-pro": "3.0.0-alpha.9",
"@nuxthub/core": "^0.8.6",
Expand Down
91 changes: 91 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 45560ee

Please sign in to comment.