squiggle icon indicating copy to clipboard operation
squiggle copied to clipboard

Use backticks to represent Markdown

Open OAGr opened this issue 2 years ago • 2 comments

Description of suggestion or shortcoming:

  • Add a new string type, using "`" marks.
  • For this new string type, multiple lines should be supported.
  • When done, only show this new format as Markdown. The previous format should render as strings.
  • We could distinguish this using a Tag or just a different type.

OAGr avatar Dec 20 '23 03:12 OAGr

Marking this as epic, because:

  • it's potentially a breaking change that will require some care to upgrade
  • needs support on the components side (syntax highlighting, preferably with embedded markdown highlighting)
  • figure out new practices for @notebooks
    • do we want to continue doing them as arrays of separate lines and string concatenation?
  • can we implement # Result: ${var} interpolation? This would be cool but requires parser modes; Lezer can handle this, but I'm not sure about Peggy
    • this can be done later, but that's technically another breaking change

berekuk avatar Jan 07 '25 19:01 berekuk

Other related issues: #2241, #2760.

berekuk avatar Jan 07 '25 19:01 berekuk