How can I use babel to regenerate the original source while wrapping certain token contents (or even that of entire serialized nodes) in custom string?
For example (not what I'm doing): how do you generate a syntax highlighted html page with babel?
Cc @left_pad @sebmck
-
-
Can you then manipulate then somehow such that those changes are picked up by the generator?
-
Oh hm or they would contain the whitespace tokens, too? Then I can just serialize them zero effort. That'd be super
- 2 more replies
New conversation -
-
-
Ah that's a good alternative. Bit more work. But I'm only doing analysis so the tokens should work... I recall you can find the association tokens of a node while walking the tree so I can tag em and look them up later.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 