tailwind typogragy works - i had to add .astro to content of config file
This commit is contained in:
@ -4,9 +4,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>My Layout</title>
|
<title>My Layout</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="flex justify-center">
|
||||||
<article class="prose">
|
<div class="prose">
|
||||||
<slot />
|
<slot />
|
||||||
</article>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -5,3 +5,14 @@ title: 'My Markdown page'
|
|||||||
# Hello world
|
# Hello world
|
||||||
|
|
||||||
## Just testing
|
## 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: [
|
content: [
|
||||||
"./components/**/*.{html,js,jsx}",
|
"./components/**/*.{html,js,jsx}",
|
||||||
"./public/index.html",
|
"./public/index.html",
|
||||||
"./src/**/*.{html,js,jsx}",
|
"./src/**/*.{html,js,jsx,astro,md}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
|
Reference in New Issue
Block a user