tailwind typogragy works - i had to add .astro to content of config file

This commit is contained in:
2022-08-18 00:09:43 +01:00
parent 81d94fcc05
commit 36db5552bd
4 changed files with 15 additions and 16 deletions

View File

@ -4,9 +4,9 @@
<head>
<title>My Layout</title>
</head>
<body>
<article class="prose">
<body class="flex justify-center">
<div class="prose">
<slot />
</article>
</div>
</body>
</html>

View File

@ -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");
```

View File

@ -1,12 +0,0 @@
---
---
<html>
<head>
<title>Testing</title>
</head>
<body>
<article class="prose">
<h1>Hello World</h1>
</article>
</body>
</html>

View File

@ -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: {