Skip to content

Commit

Permalink
Merge pull request #2579 from ewels/vscode-admonition-styling
Browse files Browse the repository at this point in the history
VSCode admonition styling using 'Markdown Extended'
  • Loading branch information
mashehu authored Oct 4, 2024
2 parents 9c8b06e + e4035a5 commit d20d262
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"markdown.styles": [
"public/vscode_markdown.css"
]
}
30 changes: 30 additions & 0 deletions public/vscode_markdown.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.note {
border-radius: .25rem;
border: 2px solid #084298;
padding: 1rem 1rem 0;
margin-bottom: 1rem;
}
.info {
border-radius: .25rem;
border: 2px solid #0e616e;
padding: 1rem 1rem 0;
margin-bottom: 1rem;
}
.tip {
border-radius: .25rem;
border: 2px solid #14683b;
padding: 1rem 1rem 0;
margin-bottom: 1rem;
}
.warning {
border-radius: .25rem;
border: 2px solid #997404;
padding: 1rem 1rem 0;
margin-bottom: 1rem;
}
.danger {
border-radius: .25rem;
border: 2px solid #842029;
padding: 1rem 1rem 0;
margin-bottom: 1rem;
}

0 comments on commit d20d262

Please sign in to comment.