From 36db5552bdabee945e955ce4f4a2c54f25bbb9e8 Mon Sep 17 00:00:00 2001 From: John Costa Date: Thu, 18 Aug 2022 00:09:43 +0100 Subject: [PATCH] tailwind typogragy works - i had to add .astro to content of config file --- src/layouts/lay.astro | 6 +++--- src/pages/test.md | 11 +++++++++++ src/pages/testing.astro | 12 ------------ tailwind.config.js | 2 +- 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 src/pages/testing.astro diff --git a/src/layouts/lay.astro b/src/layouts/lay.astro index 399e02d..987f1b5 100644 --- a/src/layouts/lay.astro +++ b/src/layouts/lay.astro @@ -4,9 +4,9 @@ My Layout - -
+ +
-
+ diff --git a/src/pages/test.md b/src/pages/test.md index afb5abc..dd902b2 100644 --- a/src/pages/test.md +++ b/src/pages/test.md @@ -5,3 +5,14 @@ title: 'My Markdown page' # Hello world ## Just testing + +* List 1 +* List 1 +* List 1 +* List 1 + +### Another heading + +```js +console.log("Hello world"); +``` diff --git a/src/pages/testing.astro b/src/pages/testing.astro deleted file mode 100644 index 8bd7a95..0000000 --- a/src/pages/testing.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- ---- - - - Testing - - -
-

Hello World

-
- - diff --git a/tailwind.config.js b/tailwind.config.js index c38ca97..3e05959 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,7 @@ module.exports = { content: [ "./components/**/*.{html,js,jsx}", "./public/index.html", - "./src/**/*.{html,js,jsx}", + "./src/**/*.{html,js,jsx,astro,md}", ], theme: { extend: {