Skip to content

Commit 5854ee3

Browse files
committed
chore(playground): add prose
1 parent f464043 commit 5854ee3

File tree

8 files changed

+31
-7
lines changed

8 files changed

+31
-7
lines changed

playground/components/global/AsyncComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<UAlert
44
color="primary"
55
variant="subtle"
6-
class="my-4"
6+
class="my-4 not-prose"
77
>
88
<template #description>
99
<h2 class="font-semibold">

playground/components/global/PageSnippet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<UAlert
44
color="primary"
55
variant="subtle"
6-
class="page-snippet-alert"
6+
class="page-snippet-alert not-prose"
77
>
88
<template #description>
99
<MDCRenderer

playground/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
"generate": "nuxi generate"
99
},
1010
"devDependencies": {
11-
"nuxt": "latest",
1211
"@monaco-editor/loader": "^1.4.0",
13-
"@nuxtlabs/monarch-mdc": "^0.2.0"
12+
"@nuxtlabs/monarch-mdc": "^0.2.0",
13+
"nuxt": "latest"
14+
},
15+
"dependencies": {
16+
"@iconify-json/lucide": "^1.2.26",
17+
"@tailwindcss/typography": "^0.5.16"
1418
}
1519
}

playground/pages/async-components/advanced.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PageNav />
44
<div
55
v-if="ast"
6-
class="page-mdc-content"
6+
class="page-mdc-content prose"
77
>
88
<MDCRenderer
99
v-if="ast.body"

playground/pages/async-components/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PageNav />
44
<div
55
v-if="ast"
6-
class="page-mdc-content"
6+
class="page-mdc-content prose"
77
>
88
<MDCRenderer
99
v-if="ast.body"

playground/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ onMounted(() => {
5555
</div>
5656
<div class="flex-1 h-full flex flex-col border-2 border-neutral-900">
5757
<code class="text-xs px-2 py-1">Source -> MDC -> Render</code>
58-
<div class="flex-1 overflow-scroll">
58+
<div class="flex-1 overflow-scroll prose p-4">
5959
<MDCRenderer
6060
v-if="ast"
6161
:body="ast!.body"

playground/tailwind.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
plugins: [
4+
require('@tailwindcss/typography')
5+
]
6+
}

pnpm-lock.yaml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)