Skip to content

Commit

Permalink
Fix the code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
notkaramel committed Jan 24, 2025
1 parent 25b28e4 commit ac74b32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Things are working
> blockquote
- First item
- [title](https://www.example.com)
- Item 1: [title](https://www.example.com)
- Second item
- ![alt text](https://picsum.photos/300)
- Item 2: ![alt text](https://picsum.photos/300)
- Third item

---
Expand Down
5 changes: 3 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ button, input[type="radio"] {
}

#output {
@apply w-fit;
@apply prose prose-base *:my-2;
/* Text styling */
@apply prose-li:my-0 prose-ul:my-0;
@apply prose-hr:my-4;
@apply prose-h1:border-b-2 prose-h1:pb-3 prose-h1:font-bold;
@apply prose-a:text-blue-600;
@apply prose-code:bg-gray-100 prose-code:rounded prose-code:px-1 prose-code:py-0.5;
@apply prose-code:rounded prose-code:px-1 prose-code:py-0.5;
@apply prose-li:prose-p:py-1;
/* @apply dark:prose-invert; */
}
Expand All @@ -38,4 +39,4 @@ button {
@apply w-4 h-4;
@apply fill-current;
}
}
}

0 comments on commit ac74b32

Please sign in to comment.