From fe9bee0e61fdbae6339185ec579a40f24832cedf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Fri, 2 Sep 2022 12:12:38 -0300 Subject: [PATCH] Update markdown configuration --- pages/about.md | 6 ------ pages/home.md | 6 +----- tailwind.config.js | 1 + vite.config.js | 4 +++- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/pages/about.md b/pages/about.md index fdc86df..5027002 100644 --- a/pages/about.md +++ b/pages/about.md @@ -4,9 +4,6 @@ contact_email: user@example.com copyright: All content is CC 0 so that it maybe be shared throughout the world in places like Wikipedia. citation: Project collaborative. 2022. Website title. Available at https://example.com. --- -
-
- # {{frontmatter.title}} ## Dig deeper @@ -36,6 +33,3 @@ Want to create your own site? This website is built completely on open-source so ## Copyright _{{frontmatter.copyright}}_ - -
-
\ No newline at end of file diff --git a/pages/home.md b/pages/home.md index 842b4e4..19f92fe 100644 --- a/pages/home.md +++ b/pages/home.md @@ -3,8 +3,7 @@ title: The title lead: Taxa from your imagination to the web project: Your project --- -
-
+ # {{frontmatter.title}} _{{frontmatter.lead}}_ @@ -21,6 +20,3 @@ project: Your project ## Find out more Learn how to collaborate with the {{ frontmatter.title }} project. Contact information, technical details, and more are available at [About](/about). - -
-
diff --git a/tailwind.config.js b/tailwind.config.js index 3a49d35..a1a9f7d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -10,6 +10,7 @@ function withOpacity(variableName) { module.exports = { content: [ "./index.html", + "./vite.config.js", "./src/**/*.{vue,js,ts,jsx,tsx,md}", "./pages/*.{vue,md}", "./config/*.yml", diff --git a/vite.config.js b/vite.config.js index d629b44..11de0b6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -25,7 +25,9 @@ export default () => { Vue({ include: [/\.vue$/, /\.md$/] }), - Markdown(), + Markdown({ + wrapperClasses: '!container mx-auto pt-4 pb-4 prose dark:prose-invert box-border' + }), Pages({ dirs: 'pages', extensions: ['vue', 'md'],