feat: add syntax highlighting and code formatting for blog posts

This commit is contained in:
Mauricio Siu
2025-03-02 16:12:26 -06:00
parent 2f6455027a
commit 5f66cfd234
4 changed files with 71 additions and 95 deletions

23
pnpm-lock.yaml generated
View File

@@ -143,6 +143,9 @@ importers:
'@types/node':
specifier: 20.4.6
version: 20.4.6
'@types/turndown':
specifier: ^5.0.5
version: 5.0.5
autoprefixer:
specifier: ^10.4.12
version: 10.4.19(postcss@8.4.47)
@@ -188,6 +191,9 @@ importers:
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.7)
turndown:
specifier: ^7.2.0
version: 7.2.0
typescript:
specifier: 5.1.6
version: 5.1.6
@@ -968,6 +974,9 @@ packages:
'@mdx-js/mdx@3.1.0':
resolution: {integrity: sha512-/QxEhPAvGwbQmy1Px8F899L5Uc2KZ6JtXwlCgJmjSTBedwOZkByYcBG4GceIGPXRDsmfxhHazuS+hlOShRLeDw==}
'@mixmark-io/domino@2.2.0':
resolution: {integrity: sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==}
'@next/env@14.2.2':
resolution: {integrity: sha512-sk72qRfM1Q90XZWYRoJKu/UWlTgihrASiYw/scb15u+tyzcze3bOuJ/UV6TBOQEeUaxOkRqGeuGUdiiuxc5oqw==}
@@ -1660,6 +1669,9 @@ packages:
'@types/react@18.3.5':
resolution: {integrity: sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==}
'@types/turndown@5.0.5':
resolution: {integrity: sha512-TL2IgGgc7B5j78rIccBtlYAnkuv8nUQqhQc+DSYV5j9Be9XOcm/SKOVRuA47xAVI3680Tk9B1d8flK2GWT2+4w==}
'@types/unist@2.0.10':
resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==}
@@ -3517,6 +3529,9 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
turndown@7.2.0:
resolution: {integrity: sha512-eCZGBN4nNNqM9Owkv9HAtWRYfLA4h909E/WGAWWBpmB275ehNhZyk87/Tpvjbp0jjNl9XwCsbe6bm6CqFsgD+A==}
typescript@5.1.6:
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
engines: {node: '>=14.17'}
@@ -4322,6 +4337,8 @@ snapshots:
- acorn
- supports-color
'@mixmark-io/domino@2.2.0': {}
'@next/env@14.2.2': {}
'@next/env@15.0.3': {}
@@ -5279,6 +5296,8 @@ snapshots:
'@types/prop-types': 15.7.12
csstype: 3.1.3
'@types/turndown@5.0.5': {}
'@types/unist@2.0.10': {}
'@types/unist@3.0.2': {}
@@ -7576,6 +7595,10 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
turndown@7.2.0:
dependencies:
'@mixmark-io/domino': 2.2.0
typescript@5.1.6: {}
typescript@5.6.3: {}