|
|
|
|
|
by h4ch1
277 days ago
|
|
The embed block seems interesting, can someone give a concrete example on its' purpose in terms of real-world usage? Like I understand I'll get syntax highlighting, multi-line formatting; seems great for devex, but why's stopping me from putting code in a single string and parsing it? Does it offer some benefits while parsing it? Thanks! |
|
By making the content type of the embed a first-class citizen of the syntax, together with clear boundaries for the embedded content, editors and IDEs can hook in all their great tooling to the embed blocks. So, you nailed it: being great for devex is exactly the idea.