tailwind typogragy works - i had to add .astro to content of config file
This commit is contained in:
@ -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>
|
||||
|
@ -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");
|
||||
```
|
||||
|
@ -1,12 +0,0 @@
|
||||
---
|
||||
---
|
||||
<html>
|
||||
<head>
|
||||
<title>Testing</title>
|
||||
</head>
|
||||
<body>
|
||||
<article class="prose">
|
||||
<h1>Hello World</h1>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
@ -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: {
|
||||
|
Reference in New Issue
Block a user