You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we add a the original text that was lexed to each token coming out of the lexer we could write a trivial renderer for the tokens that rendered it back into the original text.
This would enable people to move chunks of markdown around in a file as tokens or to splice other markdown files into existing markdown files.
Activity
bdjnk commentedon Mar 11, 2014
This seems worthwhile to me as well. I solved this for myself by simply adding
md: cap[0]to each top level token (I only needed top level).