code blocks, alerts, emojis and task lists!
we’ve got loads of new cool stuff that get rendered now!
-
first, github alerts/callouts now render nicely! they look like this:
> [!TAG] > contentwhere
TAGcan beNOTE,IMPORTANT,TIP,WARNINGorCAUTION. they also have these cool icons next to them, but the catch is you need a nerd font for it. i’ll add an option to not need it and only use ascii characters -
next, we have highlighted code blocks! the renderer can highlight hundreds of languages using shiki! you might not even have heard of some of the languages that it can highlight! imo its really nice looking and i love it!
-
the bulk of this time came from adding support for task list items because i couldn’t figure out how to do it. eventually after some tinkering i’ve got it to work! it looks kinda cool too tbh
-
i also got emoji support using an extension. it automatically converts
:emoji:to the corresponding emoji if its in the unicode specification. -
finally, i added a simple height option that just sets the height of the renderer. it allows you to set the height of the renderer manually and that’s about it lmao
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.