Browse Source
- Added commented-out styles for code blocks to enhance presentation and usability. - Updated markdown configuration to disable HTML rendering for improved security. - Introduced a function to handle path not found errors in the error logger for better error management. These changes prepare the codebase for future enhancements in markdown rendering and error handling.main
5 changed files with 117 additions and 5 deletions
@ -1,2 +1,45 @@ |
|||
@use "./markdown/reset.scss"; |
|||
@use "./markdown/green.scss"; |
|||
@use "./markdown/green.scss"; |
|||
|
|||
// .code-block-wrapper { |
|||
// position: relative; |
|||
// margin: 16px 0; |
|||
// border-radius: 8px; |
|||
// background: #1e1e1e; |
|||
// overflow: hidden; |
|||
// } |
|||
// .code-header { |
|||
// display: flex; |
|||
// justify-content: space-between; |
|||
// align-items: center; |
|||
// padding: 8px 12px; |
|||
// background: #2d2d2d; |
|||
// color: #ccc; |
|||
// font-size: 14px; |
|||
// } |
|||
// .code-lang { |
|||
// font-weight: 600; |
|||
// text-transform: uppercase; |
|||
// } |
|||
// .copy-btn { |
|||
// padding: 4px 8px; |
|||
// border: none; |
|||
// border-radius: 4px; |
|||
// background: #444; |
|||
// color: #fff; |
|||
// cursor: pointer; |
|||
// font-size: 12px; |
|||
// transition: all 0.2s; |
|||
// } |
|||
// .copy-btn:hover { |
|||
// background: #555; |
|||
// } |
|||
// pre { |
|||
// margin: 0; |
|||
// padding: 12px; |
|||
// overflow-x: auto; |
|||
// } |
|||
// code { |
|||
// color: #d4d4d4; |
|||
// font-family: 'Consolas', 'Monaco', monospace; |
|||
// } |
|||
Binary file not shown.
Loading…
Reference in new issue