pull down to refresh
I might've been too strict and enabled formatting only inside TextNode
TextNode
Here's how a LinkNode is created in the MDAST pipeline:
LinkNode
MDAST
MD: [lol](google.com) [parent] - LinkNode: google.com [child] - TextNode: lol
So to apply bold to a link text you can do [**lol**](google.com) which renders as lol
bold
[**lol**](google.com)
I will make our pipeline smarter and do this automatically 🫡
Cool! That way it makes more sense, using bold just on the TextNode.
I might've been too strict and enabled formatting only inside
TextNodeHere's how a
LinkNodeis created in theMDASTpipeline:MD: [lol](google.com) [parent] - LinkNode: google.com [child] - TextNode: lolSo to apply
boldto a link text you can do[**lol**](google.com)which renders as lolI will make our pipeline smarter and do this automatically 🫡