formatting and layout
This commit is contained in:
@@ -116,8 +116,6 @@ const { post, nextPost, prevPost } = Astro.props;
|
||||
</BlogPost>
|
||||
|
||||
<script>
|
||||
// Removing TOC-related functions
|
||||
|
||||
// Add copy buttons to code blocks
|
||||
function initializeCodeCopyButtons() {
|
||||
const codeBlocks = document.querySelectorAll('pre');
|
||||
@@ -185,7 +183,6 @@ const { post, nextPost, prevPost } = Astro.props;
|
||||
|
||||
// Main initialization function
|
||||
function initializeBlogPost() {
|
||||
// Initialize remaining components
|
||||
initializeCodeCopyButtons();
|
||||
|
||||
// Scroll to hash if present in URL
|
||||
@@ -207,8 +204,6 @@ const { post, nextPost, prevPost } = Astro.props;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* Removing TOC-related styles */
|
||||
|
||||
/* Language badge styling */
|
||||
.language-badge {
|
||||
font-family:
|
||||
|
Reference in New Issue
Block a user