Closed anishpokharel closed 1 month ago
@anishpokharel is attempting to deploy a commit to the John Vandivier's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ladderly-3 | ❌ Failed (Inspect) | May 18, 2024 10:43pm |
@anishpokharel the approach looks good but there are a few items before ready to merge:
should we pass the language to the config object somehow or will it be auto-detected? on https://www.ladderly.io/blog/2024-04-20-hook-fundamentals we use typescript but on https://www.ladderly.io/blog/2024-01-23-leetcode-solutions we use python
i am happy to require language annotations on the markdown files if that solves it
looks like highlight.js will be nicer https://begin.com/blog/posts/2021-11-09-tale-of-the-tape-highlightjs-vs-shiki
It does the highlighting and detects language from markdown file. Here is it doing it's thing in dev.
But the build fails, however, because of a type error.
1. extraneous dependency on shiki 2. type error blocking build 3. highlighting based on language: we would like to support at least python, typescript, javascript, and java
closed in favor of #234
This adds syntax highlighting for markdown blog posts.