-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace highlight.js with static highlighting using Pandoc #437
base: main
Are you sure you want to change the base?
Conversation
5cde36a
to
09c539b
Compare
Co-authored-by: tauomicronmu <tauomicronmurs@gmail.com>
09c539b
to
3eab4ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
message-index/site.hs
Outdated
other -> other, | ||
field "before" (maybe (pure "<not present>") (fmap itemBody . load . itemIdentifier) . view _2 . itemBody), | ||
field "after" (maybe (pure "<not present>") (fmap itemBody . load . itemIdentifier) . view _3 . itemBody) | ||
-- TODO: pick the right language |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a stale TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have a look at it now!
case takeExtension name of | ||
".hs" -> "haskell" | ||
_ -> "" | ||
pure $ T.unpack $ highlight language $ T.pack $ exampleText |
Check notice
Code scanning / HLint
Redundant $
Co-authored-by: Daan Rijks <daanrijks@pm.me>
56037cd
to
d2cf854
Compare
Is this still a draft? What do you see as the remaining tasks for un-drafting it? |
@isomorpheme - completely forgot about this -> do you remember what we had left to do (if anything)? |
@TauOmicronMu Hmm, I don't remember anything besides what's already mentioned in this PR (mainly picking the right language to highlight with). And this needs a rebase to fix merge conflicts of course. |
🥳 🎉