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
What would it take to support an MDX format, basically a combination of TSX and MD? These 2 are mixed together without any indication of which line of code is which language.
The text was updated successfully, but these errors were encountered:
I am not aware what kind of heuristics this format uses to distinguish the two languages, but yeah, this sounds like a very awkward file format to write a parser for. You'd probably want an outer parser that categorizes each line or block of lines as belonging to a given language, and then use mixed parsing to use the TS or Markdown parser for the appropriate lines.
What would it take to support an MDX format, basically a combination of TSX and MD? These 2 are mixed together without any indication of which line of code is which language.
The text was updated successfully, but these errors were encountered: